:root {
  --bg-primary: #0e1420;
  --bg-secondary: #131b2b;
  --surface: #182235;
  --surface-hover: #1e2a41;
  --surface-inset: #0b101a;

  --border: rgba(203, 213, 225, 0.14);
  --border-strong: rgba(203, 213, 225, 0.28);

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --blue: #38bdf8;
  --blue-hover: #7dd3fc;
  --blue-soft: rgba(56, 189, 248, 0.12);
  --blue-border: rgba(56, 189, 248, 0.38);

  --teal: #2dd4bf;
  --teal-hover: #5eead4;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --teal-border: rgba(45, 212, 191, 0.38);

  --error: #f87171;
  --error-soft: rgba(248, 113, 113, 0.12);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 300;
  background: var(--blue);
  color: #07111e;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.85rem;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

h1,
h2,
h3,
h4,
.brand-text {
  font-family: var(--font-display);
}

.text-blue {
  color: var(--blue);
}

.inline-text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-text-link:hover {
  color: var(--blue-hover);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Navigacija */
.navbar {
  position: sticky;
  top: 0;
  z-index: 150;
  height: var(--nav-height);
  background: rgba(14, 20, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.brand-fallback {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  align-items: center;
  justify-content: center;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-text span {
  color: var(--blue);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--blue);
}

.nav-link-mobile-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

.hamburger-bars {
  width: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Gumbi */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-sm {
  padding: 0.52rem 1.05rem;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--blue);
  color: #071220;
}

.btn-primary:hover:not(:disabled) {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

/* Hero sekcija */
.hero {
  padding: 4.5rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-pillar-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.hero-pillar-chip strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.hero-pillar-chip span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.chip-code {
  font-family: var(--font-mono);
  font-size: 0.74rem !important;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.chip-blue .chip-code {
  color: var(--blue) !important;
  background: var(--blue-soft);
}

.chip-blue:hover {
  background: var(--surface-hover);
  border-color: var(--blue-border);
}

.chip-teal .chip-code {
  color: var(--teal) !important;
  background: var(--teal-soft);
}

.chip-teal:hover {
  background: var(--surface-hover);
  border-color: var(--teal-border);
}

/* CSS grafika v Hero sekciji */
.hero-visual {
  min-width: 0;
}

.hero-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(5, 10, 18, 0.45);
}

.css-hardware-board {
  padding: 1.25rem;
  background-color: #101725;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(45, 212, 191, 0.12), transparent 48%),
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.14), transparent 52%),
    linear-gradient(rgba(203, 213, 225, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px, 24px 24px;
}

.hw-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.hw-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.hw-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.hw-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 0.95rem;
}

.hw-motherboard {
  background: #0b101a;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9rem;
  align-items: center;
}

.hw-cpu-socket {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(145deg, #182235, #0f1624);
  border: 1.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

.hw-cpu-core {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(56, 189, 248, 0.35) 0px,
      rgba(56, 189, 248, 0.35) 2px,
      transparent 2px,
      transparent 7px
    ),
    rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.6);
}

.hw-ram-slots {
  display: flex;
  gap: 0.45rem;
  height: 96px;
}

.hw-ram {
  width: 10px;
  height: 100%;
  border-radius: 4px;
}

.ram-teal {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.45), rgba(45, 212, 191, 0.12));
  border: 1px solid var(--teal);
}

.ram-dim {
  background: rgba(203, 213, 225, 0.08);
  border: 1px solid var(--border-strong);
}

.hw-pcie-bar {
  grid-column: 1 / -1;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.32), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--blue-border);
}

.hw-nvme-bar {
  grid-column: 1 / -1;
  width: 72%;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.3), rgba(45, 212, 191, 0.08));
  border: 1px solid var(--teal-border);
}

.hw-modules {
  display: grid;
  gap: 0.85rem;
}

.hw-module {
  background: #141d2e;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.48rem;
}

.mod-blue {
  border: 1px solid var(--blue-border);
}

.mod-teal {
  border: 1px solid var(--teal-border);
}

.mod-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-blue {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

.dot-teal {
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.mod-line {
  height: 4px;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.25);
}

.w-80 { width: 82%; }
.w-75 { width: 76%; }
.w-60 { width: 62%; }
.w-55 { width: 55%; }

.mod-bar {
  height: 6px;
  border-radius: 999px;
  margin-top: 0.15rem;
}

.bar-blue {
  width: 88%;
  background: linear-gradient(90deg, var(--blue), rgba(56, 189, 248, 0.2));
}

.bar-teal {
  width: 84%;
  background: linear-gradient(90deg, var(--teal), rgba(45, 212, 191, 0.2));
}

/* Sekcije */
.section {
  padding: 4.75rem 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Storitve */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
}

.service-blue {
  border-top: 3px solid var(--blue);
}

.service-blue:hover {
  border-color: var(--blue-border);
}

.service-teal {
  border-top: 3px solid var(--teal);
}

.service-teal:hover {
  border-color: var(--teal-border);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.badge-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.badge-teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-blue {
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
}

.icon-teal {
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
}

.service-card h3 {
  font-size: 1.38rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.service-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  padding-top: 1.2rem;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--border);
}

.service-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.91rem;
  color: var(--text-primary);
}

.service-blue .service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.service-teal .service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.btn-service-blue {
  width: 100%;
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue-border);
}

.btn-service-blue:hover {
  background: var(--blue);
  color: #071220;
}

.btn-service-teal {
  width: 100%;
  background: var(--teal-soft);
  color: var(--teal);
  border-color: var(--teal-border);
}

.btn-service-teal:hover {
  background: var(--teal);
  color: #061815;
}

/* Dodatna podpora */
.addon-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.addon-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 650px;
}

.addon-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.addon-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.addon-main h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3rem;
}

.addon-main p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.addon-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.addon-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.addon-link:hover {
  text-decoration: underline;
}

/* Postopek sodelovanja */
.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.process-step-accent {
  border-color: var(--blue-border);
}

.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Galerija */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.gallery-figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}

.gallery-media {
  aspect-ratio: 16 / 10;
  background: #0b101a;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.02);
}

.gallery-caption {
  padding: 1.35rem 1.5rem 1.5rem;
}

.gallery-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  margin-bottom: 0.55rem;
}

.cat-blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.cat-teal {
  color: var(--teal);
  background: var(--teal-soft);
}

.gallery-caption h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.gallery-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Prednosti UHAN tech */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  border: 1px solid var(--blue-border);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.advantage-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.advantage-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.45rem;
}

.advantage-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Pogosta vprašanja (FAQ) */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: var(--blue-border);
}

.faq-heading {
  font-size: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer-inner {
  padding: 1rem 1.4rem 1.25rem;
  border-top: 1px solid var(--border);
}

.faq-answer-inner p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* Kontakt in obrazec */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-lead {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.contact-links {
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.contact-item:hover {
  background: var(--surface-hover);
  border-color: var(--blue-border);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
  word-break: break-word;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.req {
  color: var(--blue);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group select.is-highlighted {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.form-group [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.3rem;
  min-height: 1.1em;
}

.form-consent {
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400 !important;
  font-size: 0.84rem !important;
  color: var(--text-secondary) !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 0.18rem;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
}

.inline-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(7, 18, 32, 0.3);
  border-top-color: #071220;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.status-success {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  color: var(--teal);
}

.form-status.status-error {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--error-soft);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: var(--text-primary);
}

.fallback-mailto-btn {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface-inset);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.fallback-mailto-btn:hover {
  border-color: var(--blue);
}

/* Noga */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 34ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a,
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--blue);
}

.footer-bottom {
  padding-top: 1.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Okno za pravilnik o zasebnosti */
.privacy-dialog {
  margin: auto;
  max-width: 560px;
  width: calc(100% - 2rem);
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 0;
}

.privacy-dialog::backdrop {
  background: rgba(7, 11, 19, 0.78);
}

.dialog-inner {
  padding: 1.65rem;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.dialog-header h2 {
  font-size: 1.2rem;
  line-height: 1.3;
}

.dialog-close {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.dialog-close:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.dialog-body {
  display: grid;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.dialog-body a {
  color: var(--blue);
}

/* Reveal animacije */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Odzivnost */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-visual {
    max-width: 640px;
  }

  .process-grid,
  .gallery-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-desktop-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-strong);
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 0.85rem;
    border-bottom: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .nav-link:hover {
    background: var(--surface);
  }

  .nav-link-mobile-cta {
    display: block;
    margin-top: 0.5rem;
    text-align: center;
    background: var(--blue);
    color: #071220;
    font-weight: 600;
  }

  .nav-link-mobile-cta:hover {
    background: var(--blue-hover);
    color: #071220;
  }

  .services-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .addon-side {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.25rem 0 3.5rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .hero-pillars,
  .process-grid,
  .gallery-grid,
  .advantages-grid,
  .hw-layout {
    grid-template-columns: 1fr;
  }

  .service-card,
  .contact-form {
    padding: 1.45rem;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}