/* ==========================================================================
   Lorin6 d.o.o. — lorin6.com
   Barve iz logotipa: temno modra #1B2F58 + turkizna #008E8F
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;

  --navy: #1b2f58;
  --navy-900: #0a1326;
  --teal: #008e8f;
  --teal-600: #00757d;
  --teal-300: #3fd0c2;
  --grad: linear-gradient(100deg, #1b2f58 0%, #00757d 48%, #00a39b 100%);
  --grad-light: linear-gradient(100deg, #7fe3d6 0%, #3fc6c0 45%, #9fb6ff 100%);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: rgba(0, 142, 143, 0.22); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--teal-300); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--ink); color: #fff; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: calc(1320px + var(--gutter) * 2); }

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.display {
  font-size: clamp(3rem, 8.4vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.h-xl { font-size: clamp(2.4rem, 5.6vw, 4.5rem); letter-spacing: -0.04em; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.12; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.dark .grad-text { background-image: var(--grad-light); }

.kicker {
  display: inline-block;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--teal-600);
}
.dark .kicker { color: var(--teal-300); }

.sub {
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  font-weight: 500;
}
.dark .sub { color: #a1a1a6; }

.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- Gumbi in povezave ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0;
  background: var(--navy); color: #fff;
  font-size: 1.02rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { background: #24407a; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(27, 47, 88, 0.6); }
.btn:active { transform: none; }
.btn--teal { background: var(--teal); }
.btn--teal:hover { background: var(--teal-600); box-shadow: 0 10px 24px -12px rgba(0, 117, 125, 0.65); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f2; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 0.9rem; }

.link-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--teal-600); font-size: 1.05rem; font-weight: 500;
  text-decoration: none;
}
.link-more::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform 0.25s var(--ease); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more:hover::after { transform: translate(3px, -1px); }
.link-more--ext::after { content: "↗"; font-size: 0.95em; transform: none; }
.link-more--ext:hover::after { transform: translate(2px, -2px); }
.dark .link-more { color: var(--teal-300); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .cta-row { justify-content: center; }

/* ---------- Glava ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 0.88rem; color: var(--ink); opacity: 0.82; text-decoration: none;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.lang-switch { display: inline-flex; gap: 2px; margin: 0 6px 0 8px; font-size: 0.82rem; }
.lang-switch a { padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink-3); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 13px; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.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); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px var(--gutter) 28px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; }
  .nav-links a { font-size: 1.5rem; font-weight: 600; padding: 12px 0; opacity: 1; border-radius: 0; }
  .lang-switch { margin: 8px 0; font-size: 1rem; }
  .nav .btn { align-self: flex-start; }
}

/* ---------- Uvod (hero) ---------- */

.hero {
  position: relative;
  padding: calc(64px + clamp(56px, 9vw, 110px)) 0 0;
  overflow: hidden;
  --p: 0;
}
.hero::before {
  content: "";
  position: absolute; left: 50%; top: 52%;
  width: min(1100px, 130vw); height: 760px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(0, 163, 155, 0.22), transparent 70%),
    radial-gradient(closest-side at 30% 60%, rgba(27, 47, 88, 0.16), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-copy { position: relative; display: grid; justify-items: center; gap: 22px; text-align: center; }
.hero-copy .sub { max-width: 34em; }

.hero-stage {
  position: relative;
  height: clamp(440px, 62vw, 700px);
  margin-top: clamp(40px, 6vw, 72px);
  perspective: 1600px;
}
.hero-stage .phone {
  position: absolute; left: 50%; top: 0;
  --pw: clamp(190px, 23vw, 300px);
  will-change: transform;
}
.hero-stage .phone--c {
  z-index: 3;
  transform: translateX(-50%) translateY(calc(var(--p) * -40px)) scale(calc(1 + var(--p) * 0.04));
}
.hero-stage .phone--l {
  z-index: 2; top: 9%;
  transform: translateX(calc(-50% - 74% - var(--p) * 22%)) rotate(calc(-7deg - var(--p) * 5deg)) scale(0.9);
}
.hero-stage .phone--r {
  z-index: 2; top: 9%;
  transform: translateX(calc(-50% + 74% + var(--p) * 22%)) rotate(calc(7deg + var(--p) * 5deg)) scale(0.9);
}
.hero-stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  z-index: 4; pointer-events: none;
}

/* vstopna animacija */
.intro { animation: intro 1.1s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes intro { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.phone-in { animation: phoneIn 1.4s var(--ease-out) both; animation-delay: var(--d, 0.2s); }
@keyframes phoneIn { from { opacity: 0; translate: 0 90px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Telefon ---------- */

.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  aspect-ratio: 0.5;
  padding: calc(var(--pw) * 0.034);
  border-radius: 15% / 7.5%;
  background: linear-gradient(145deg, #3a3a3c, #0d0d0e 40%, #2c2c2e);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 40px 80px -30px rgba(10, 19, 38, 0.55),
    0 80px 120px -60px rgba(0, 117, 125, 0.35);
}
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 12.5% / 6.2%;
  background: #f3f2ee;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone .screen--inset img { position: absolute; left: 0; right: 0; bottom: 0; top: 6.5%; height: auto; }

/* ---------- Izjava (besede se obarvajo ob drsenju) ---------- */

.statement { padding: clamp(110px, 16vw, 200px) 0 clamp(80px, 12vw, 160px); }
.statement p {
  max-width: 24em; margin: 0 auto;
  font-size: clamp(1.8rem, 4.2vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-align: center;
}
.js .statement .w { color: #d2d2d7; transition: color 0.35s; }
.js .statement .w.on { color: var(--ink); }
.js .statement .w.on.accent { color: var(--teal-600); }

/* ---------- Odseki ---------- */

.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-intro { display: grid; gap: 18px; margin-bottom: clamp(48px, 7vw, 84px); }

.dark { background: var(--navy-900); color: #f5f5f7; }
.dark h2, .dark h3 { color: #f5f5f7; }

/* ---------- Projekt: MaxyHome.si ---------- */

.case-head { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.case-head .sub { max-width: 36em; }
.case-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-2);
}
.case-label img { width: 28px; height: 28px; border-radius: 7px; }
.dark .case-label { color: #a1a1a6; }

.browser {
  --s: 0.9;
  max-width: 1180px; margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 50px 100px -40px rgba(10, 19, 38, 0.45);
  transform: scale(var(--s));
  transform-origin: 50% 0;
  will-change: transform;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  background: #f2f2f4; border-bottom: 1px solid var(--line-soft);
}
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #d8d8dc; }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 0 1 360px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; border-radius: 8px; background: #fff;
  font-size: 0.8rem; color: var(--ink-2);
}
.browser-url svg { width: 11px; height: 11px; }
.browser img { width: 100%; height: auto; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 900px; margin: clamp(48px, 7vw, 80px) auto 0;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 1.02rem; }
.stats-note { margin-top: 22px; text-align: center; font-size: 0.82rem; color: var(--ink-3); }
.case-foot { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Projekt: MaxyWeather (zgodba ob drsenju) ---------- */

.story-wrap { position: relative; overflow: clip; }
.story-wrap::before {
  content: ""; position: absolute; right: -10%; top: 10%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(0, 163, 155, 0.18), transparent 70%);
  pointer-events: none;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  position: relative;
}
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step {
  min-height: 78vh;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease);
}
.story-step.is-active { opacity: 1; }
.story-step:first-child { min-height: 60vh; }
.story-step:last-child { min-height: 70vh; }
.story-step h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.story-step p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #a1a1a6; max-width: 26em; line-height: 1.5; }
.story-step .step-n { font-family: var(--mono); font-size: 0.82rem; color: var(--teal-300); letter-spacing: 0.06em; }
.story-step .phone { display: none; }

.story-visual {
  position: sticky; top: calc(50vh - min(34vw, 330px));
  height: min(68vw, 660px);
  display: flex; justify-content: center;
}
.story-visual .phone { --pw: min(33vw, 330px); height: fit-content; }
.story-visual .screen img {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease-out);
}
.story-visual .screen img.is-active { opacity: 1; transform: none; }

.app-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.play-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 18px 0 14px;
  border-radius: 12px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.play-badge:hover { transform: translateY(-1px); background: #111; }
.play-badge svg { width: 22px; height: 22px; }
.play-badge small { display: block; font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; line-height: 1; }
.play-badge strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.15; }

/* ---------- Projekt: Bidnelo (galerija) ---------- */

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 8px 0 0; padding: 0; }
.chips li {
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-soft);
  font-size: 0.92rem; color: var(--ink);
}

.gallery { position: relative; }
.gallery-track {
  display: flex; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 10px max(var(--gutter), calc((100vw - 1320px) / 2)) 40px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 auto;
  width: clamp(230px, 24vw, 300px);
  scroll-snap-align: center;
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 19, 38, 0.45);
  transition: transform 0.5s var(--ease-out);
  margin: 0;
}
.gallery-item:hover { transform: translateY(-6px); }
.gallery-item img { width: 100%; height: auto; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 10px; }
.gallery-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #e8e8ed; color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
  transition: background-color 0.2s, opacity 0.2s;
}
.gallery-nav button:hover { background: #dcdce1; }
.gallery-nav button:disabled { opacity: 0.4; cursor: default; }
.gallery-nav svg { width: 18px; height: 18px; }

/* ---------- Storitve (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.tile {
  position: relative; overflow: hidden;
  grid-column: span 2;
  min-height: 300px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(10, 19, 38, 0.35); }
.tile h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; }
.tile p { color: var(--ink-2); font-size: 1.02rem; max-width: 30em; }
.tile .tile-k { font-size: 0.9rem; font-weight: 600; color: var(--teal-600); }
.tile--wide { grid-column: span 4; }
.tile--tall { grid-row: span 2; }
.tile--half { grid-column: span 3; }
.tile--dark { background: var(--navy-900); color: #f5f5f7; }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: #a1a1a6; }
.tile--dark .tile-k { color: var(--teal-300); }
.tile--grad { background: var(--grad); color: #fff; }
.tile--grad h3 { color: #fff; }
.tile--grad p { color: rgba(255, 255, 255, 0.82); }
.tile--grad .tile-k { color: #bff3ec; }

.tile-art { margin-top: auto; }
.tile-icons { display: flex; gap: 14px; margin-top: auto; }
.tile-icons img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35); }
.tile--shop { min-height: 400px; }
.tile--shop > :not(.tile-shot) { max-width: 44%; }
.tile-shot {
  position: absolute; right: 0; bottom: 0;
  width: 54%; height: 78%;
  border-top-left-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), -20px -10px 50px -24px rgba(10, 19, 38, 0.35);
  transition: transform 0.7s var(--ease-out);
}
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tile--shop:hover .tile-shot { transform: translate(-6px, -6px); }
.tile-big {
  margin-top: auto;
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 0.95;
}

/* ---------- O nas ---------- */

.about { display: grid; gap: 28px; justify-items: center; text-align: center; }
.about p.big {
  max-width: 30em;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.38; letter-spacing: -0.02em; font-weight: 500;
  color: var(--ink-2);
}
.about p.big strong { color: var(--ink); font-weight: 600; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: 100%; max-width: 980px;
  margin-top: 28px; border-top: 1px solid var(--line-soft);
}
.fact { padding: 26px 12px 0; }
.fact b { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Vprašanja ---------- */

.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  font-size: 1.8rem; font-weight: 300; line-height: 1; color: var(--ink-2);
  transition: transform 0.35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 28px 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; }

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

.contact {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-copy { display: grid; gap: 22px; position: sticky; top: 110px; }
.contact-mail {
  display: inline-block; width: fit-content;
  font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-meta { color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }

.form {
  display: grid; gap: 16px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--bg-alt);
}
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 0.86rem; font-weight: 600; color: var(--ink); padding: 0; }
.field label small, .field legend small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1a6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 142, 143, 0.15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e0342b; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.9rem; cursor: pointer; user-select: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip span:hover { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.consent a { color: var(--teal-600); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form .btn { min-width: 210px; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.form-note { font-size: 0.84rem; color: var(--ink-3); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 0.95rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e3f6ef; color: #0f5a43; }
.form-status--err { background: #fdecea; color: #8a1c13; }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Noga ---------- */

.site-footer { background: var(--bg-alt); color: var(--ink-2); font-size: 0.82rem; padding: 48px 0 28px; border-top: 1px solid var(--line-soft); }
.section--alt .form { background: #fff; box-shadow: 0 30px 60px -40px rgba(10, 19, 38, 0.25); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { margin-top: 14px; max-width: 24em; line-height: 1.55; }
.footer-col h4 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; }
.footer-bottom a { color: inherit; }

/* ---------- Pravne in preproste strani ---------- */

.page-simple { padding: calc(64px + clamp(48px, 8vw, 96px)) 0 clamp(80px, 10vw, 128px); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); letter-spacing: -0.04em; margin: 14px 0 18px; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 44px 0 12px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.6; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { color: var(--teal-600); }
.prose .meta { font-size: 0.9rem; color: var(--ink-3); }
.prose .box { margin-top: 18px; padding: 22px 24px; background: var(--bg-alt); border-radius: var(--radius); }
.prose .lead { font-size: 1.2rem; color: var(--ink-2); }
.eyebrow { display: inline-block; font-size: 0.95rem; font-weight: 600; color: var(--teal-600); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.hide-sm { display: inline; }

/* ---------- Pojavljanje ob drsenju ---------- */

.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Odzivnost ---------- */

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--wide, .tile--half { grid-column: span 2; }
  .tile--tall { grid-row: auto; }
  .tile--shop { min-height: 0; }
  .tile--shop > :not(.tile-shot) { max-width: none; }
  .tile-shot { position: relative; width: auto; height: 220px; margin: 12px calc(-1 * clamp(28px, 3vw, 40px)) calc(-1 * clamp(28px, 3vw, 40px)) 0; }
  .contact { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story-visual { display: none; }
  .story-step, .story-step:first-child, .story-step:last-child { min-height: 0; opacity: 1; padding: 36px 0; gap: 12px; }
  .story-step .phone { display: block; --pw: min(64vw, 280px); margin: 18px auto 0; }
  .facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-stage { height: 470px; }
  .hero-stage .phone { --pw: 200px; }
  .hero-stage .phone--l { transform: translateX(calc(-50% - 62% - var(--p) * 14%)) rotate(calc(-8deg - var(--p) * 4deg)) scale(0.86); }
  .hero-stage .phone--r { transform: translateX(calc(-50% + 62% + var(--p) * 14%)) rotate(calc(8deg + var(--p) * 4deg)) scale(0.86); }
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .tile { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .browser-bar { height: 34px; }
  .browser-url { height: 22px; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .browser { transform: none; }
  .js .statement .w { color: var(--ink); }
}

/* Sekundarni gumb (pravne strani, 404) */
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--bg-alt); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.prose h1 em { font-style: normal; color: var(--ink-3); }
