/* =====================================================================
   Milunović – kleparstvo, krovstvo
   Oblikovni sistem: topel papir, mornarsko modra, siva in rdeča (rdeča in siva iz logotipa),
   Geist za besedilo, Instrument Serif za poudarke.
   ===================================================================== */
@font-face { font-family: 'Geist'; src: url(../fonts/geist-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; src: url(../fonts/geist-latin-ext-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url(../fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2'); font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* nadomestni pisavi z enakimi merami – besedilo se ob nalaganju pisav ne premakne */
@font-face { font-family: 'Geist Fallback'; src: local('Arial'); size-adjust: 103%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: 'Serif Fallback'; src: local('Georgia'); size-adjust: 88%; ascent-override: 98%; descent-override: 26%; }

:root {
  --ink: #121a24;
  --ink-2: #2b3442;
  --muted: #646b75;
  --navy: #17233a;
  --navy-2: #1f2f4b;
  --navy-3: #2a3c5c;
  --red: #c4262e;
  --red-2: #a51d25;
  --red-soft: #f9e1e2;
  --bg: #f4f0e8;
  --bg-2: #ebe5da;
  --card: #fffdf9;
  --line: rgba(18, 26, 36, .1);
  --line-2: rgba(18, 26, 36, .18);
  --on-dark: rgba(255, 255, 255, .72);
  --font: 'Geist', 'Geist Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Serif Fallback', Georgia, 'Times New Roman', serif;
  --wrap: 1320px;
  --g: clamp(18px, 4vw, 44px);
  --head: 76px;
  --storm: 0px;
  --r: 20px;
  --r-l: 28px;
  --sh-1: 0 1px 2px rgba(18, 26, 36, .05), 0 4px 14px rgba(18, 26, 36, .05);
  --sh-2: 0 18px 50px -18px rgba(18, 26, 36, .28);
  --sh-3: 0 40px 100px -30px rgba(10, 16, 26, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 900px) { :root { --head: 64px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + var(--storm)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; }

/* ---------- typography ---------- */
.h2 { font-size: clamp(2.15rem, 4.4vw, 3.9rem); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
em, .h2 em, .hero-h em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lead { font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff9fa3; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: .98rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: transform .25s var(--ease-out), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -12px rgba(196, 38, 46, .8); }
.btn-red:hover { background: var(--red-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #0e1626; }
.btn-line { border: 1.5px solid var(--line-2); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-img { display: block; width: 165px; height: 65px; flex: none; color: inherit; }
.top:not(.is-solid) .logo-img { color: #c3c4c7; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35)); }
.logo-light { color: #fff; }
.top.is-solid .logo-img, .menu-open .top .logo-img { color: #6d6e71; }
.foot .logo-img { width: 196px; height: 77px; color: #a2a3a6; }

/* ---------- storm banner ---------- */
.storm { position: fixed; inset: 0 0 auto 0; z-index: 70; background: #a51d25; color: #fff; }
.storm-in { display: flex; align-items: center; gap: 12px; min-height: 46px; font-size: .92rem; }
.storm-in p { flex: 1; line-height: 1.3; }
.storm-call { padding: 6px 14px; border-radius: 999px; background: #fff; color: #a51d25; font-weight: 700; white-space: nowrap; }
.storm-x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
@media (max-width: 600px) { .storm-in p { font-size: .84rem; } }

/* ---------- header ---------- */
.top { position: fixed; left: 0; right: 0; top: var(--storm); z-index: 60; height: var(--head); color: #fff; transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease-out); }
.top::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 12, 20, .45), rgba(8, 12, 20, 0)); transition: opacity .35s; }
.top.is-solid { background: rgba(244, 240, 232, .86); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top.is-solid::before { opacity: 0; }
.top.is-hidden { transform: translateY(-105%); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: .95rem; font-weight: 500; }
.nav > a { position: relative; padding: 8px 0; opacity: .88; white-space: nowrap; transition: opacity .2s; }
.nav > a:hover, .nav > a.is-on { opacity: 1; }
.nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav > a:hover::after, .nav > a.is-on::after { transform: scaleX(1); }
.nav-m { display: none; }
.top-cta { display: flex; align-items: center; gap: 14px; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.top-cta .btn { white-space: nowrap; }
.top-phone .i { width: 18px; height: 18px; color: var(--red); }
.top:not(.is-solid) .top-phone .i { color: #ff9fa3; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
/* daljši gumb »Brezplačno povpraševanje«: na ožjih zaslonih ostane le ikona telefona */
@media (max-width: 1240px) { .top-phone span { display: none; } }
@media (max-width: 1040px) { .top-in { gap: 16px; } .nav { gap: 16px; font-size: .9rem; } .top-cta { gap: 8px; } .top-cta .btn { padding: 0 16px; font-size: .92rem; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .top-cta .btn { display: none; }
  .top-phone { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: var(--red); color: #fff !important; }
  .top-phone .i { color: #fff !important; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(var(--head) + var(--storm) + 24px) var(--g) 32px; background: var(--bg); color: var(--ink); font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease-out), visibility .35s; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav > a::after { display: none; }
  .nav-m { display: grid; gap: 10px; margin-top: auto; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .top { color: var(--ink); background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
  .menu-open { overflow: hidden; }
  .menu-open .top::before { opacity: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: stretch; color: #fff; overflow: hidden; background: #0d141f; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 62% 50%; animation: hero-in 2.4s var(--ease-out) both; }
@keyframes hero-in { from { transform: scale(1.08); filter: brightness(.7); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8, 13, 22, .74) 0%, rgba(8, 13, 22, .38) 42%, rgba(8, 13, 22, 0) 70%),
  linear-gradient(0deg, rgba(8, 13, 22, .78) 0%, rgba(8, 13, 22, 0) 46%); }
/* naslov sredi neba levo, izračun spodaj desno */
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); align-items: center; gap: 40px; padding: calc(var(--head) + var(--storm) + 40px) 0 clamp(40px, 7vh, 80px); }
.hero-in .quote { align-self: end; }
/* naslovni del se pokaže šele, ko je ves prebran (sicer bi se med počasnim nalaganjem premaknil – CLS) */
.hero-end { display: none; }
.hero-in:not(:has(> .hero-end)) { visibility: hidden; }
.top-cta:not(:has(> .burger)) { visibility: hidden; }
.hero-h { font-size: clamp(2.9rem, 6.6vw, 6.2rem); font-weight: 600; line-height: .96; letter-spacing: -.05em; text-wrap: balance; max-width: 13ch; }
.hero-h em { color: #ffd9cf; }
.hero-lead { margin-top: 24px; max-width: 40ch; font-size: clamp(1.06rem, 1.35vw, 1.24rem); color: rgba(255, 255, 255, .84); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quote { padding: 26px; border-radius: var(--r-l); background: rgba(14, 21, 34, .55); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); box-shadow: var(--sh-3); }
.quote-k { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
.quote-h { margin-top: 12px; font-size: 1.55rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.quote-p { margin-top: 6px; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.quote-field { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.quote-field > .i { width: 20px; height: 20px; color: var(--red); }
.quote-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.quote-field input::placeholder { color: #8a8f97; }
.quote-field .btn { min-height: 48px; padding: 0 18px; }
.quote-s { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .84rem; color: rgba(255, 255, 255, .66); }
.quote-s .i { width: 16px; height: 16px; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 1100px) { .hero-scroll { display: none; } }
@media (max-width: 900px) {
  .hero { min-height: auto; }
  /* fotografija le v zgornjem delu (krovca nad naslovom), spodaj se zlije v temno ozadje */
  .hero-bg { bottom: auto; height: 76%; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .hero-bg img { object-position: 70% 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 13, 22, .92) 0%, rgba(8, 13, 22, .62) 42%, rgba(8, 13, 22, .18) 72%, rgba(8, 13, 22, .38) 100%); }
  .hero-in { grid-template-columns: 1fr; gap: 26px; padding-top: calc(var(--head) + var(--storm) + min(34vh, 300px)); padding-bottom: 28px; }
  .hero-lead { margin-top: 16px; }
  .hero-btns { margin-top: 22px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .quote { padding: 20px; }
}
@media (max-width: 760px) { .hero-bg img { object-position: 50% 0; } }
@media (max-width: 460px) {
  .quote-field { flex-wrap: wrap; padding: 6px; border-radius: 20px; }
  .quote-field > .i { margin-left: 10px; }
  .quote-field input { flex-basis: calc(100% - 44px); }
  .quote-field .btn { flex: 1 1 100%; min-height: 50px; }
}

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--card); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: flex-start; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust .i { width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.trust b { display: block; font-weight: 600; letter-spacing: -.01em; }
.trust span { display: block; margin-top: 2px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 980px) {
  .trust-in { grid-template-columns: 1fr 1fr; }
  .trust li { padding: 20px 16px; }
  .trust li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .trust li { flex-direction: column; gap: 8px; } .trust span { font-size: .84rem; } }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-tight { padding-block: clamp(64px, 8vw, 110px); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(32px, 4.5vw, 56px); }
.head > div:first-child { max-width: 760px; }
.head-light .lead { color: var(--on-dark); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, clamp(250px, 27vw, 360px)); gap: 14px; }
.svc-t { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--r-l); background: var(--navy); color: #fff; isolation: isolate; }
.svc-big { grid-row: span 2; }
.svc-wide { grid-column: span 2; }
.svc-t img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc-t::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 14, 24, .86) 0%, rgba(9, 14, 24, .28) 46%, rgba(9, 14, 24, 0) 70%); }
.svc-t:hover img { transform: scale(1.05); }
.svc-c { display: grid; gap: 6px; padding: clamp(20px, 2.4vw, 30px); max-width: 520px; }
.svc-n { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #ff9fa3; }
.svc-c b { font-size: clamp(1.45rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.svc-c > span:last-child { font-size: .98rem; color: rgba(255, 255, 255, .8); max-width: 40ch; }
.svc-go { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.svc-t:hover .svc-go { background: #fff; color: var(--ink); transform: rotate(45deg); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.also > span { margin-right: 6px; font-size: .86rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.also a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: .95rem; font-weight: 500; transition: border-color .2s, background-color .2s; }
.also a:hover { border-color: var(--ink); }
.also .i { width: 18px; height: 18px; color: var(--red); }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .svc-big { grid-column: span 2; grid-row: auto; }
  .svc-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .svc { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 10px; }
  .svc-big, .svc-wide { grid-column: auto; }
  .svc-big { grid-row: auto; }
}

/* ---------- story: dan za dnem ---------- */
.story { padding: clamp(72px, 10vw, 140px) 0; background: var(--navy); color: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.story-media { position: sticky; top: calc(var(--head) + var(--storm) + 28px); align-self: start; }
.story-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: #0e1626; box-shadow: var(--sh-3); }
.story-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.story-frame img.is-on { opacity: 1; transform: none; }
.story-badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 16px; background: rgba(12, 18, 30, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.story-badge b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; line-height: 1; }
.story-badge span { font-size: .88rem; color: rgba(255, 255, 255, .8); }
.story-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px; }
.story-rail i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.story-rail i::after { content: ''; display: block; height: 100%; width: 100%; background: #ff8f7c; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.story-rail i.is-done::after { transform: scaleX(1); }
.story-days { display: grid; }
.story-day { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .32; transition: opacity .5s; }
.story-day:first-child { border-top: 0; }
.story-day.is-on { opacity: 1; }
.story-day .d { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; color: #ff8f7c; }
.story-day .dt { margin-top: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.story-day h3 { margin-top: 6px; font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.story-day p { margin-top: 12px; max-width: 38ch; color: var(--on-dark); font-size: 1.04rem; }
.story-day .story-img { display: none; }
.story-cta { margin-top: 26px; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-media { display: none; }
  .story-day { min-height: 0; opacity: 1; padding: 26px 0 34px; }
  .story-day .story-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; border-radius: var(--r); }
}

/* ---------- projects ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .95rem; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.chips button small { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips button:hover { border-color: var(--ink); }
.chips button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button.is-on small { color: rgba(255, 255, 255, .6); }
.proj { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 21vw, 300px); grid-auto-flow: dense; gap: 14px; }
.pc { position: relative; grid-column: span 4; overflow: hidden; border-radius: var(--r); background: var(--bg-2); color: #fff; text-align: left; isolation: isolate; view-transition-name: var(--vt); }
.pc.is-w { grid-column: span 8; }
.pc.is-f { grid-column: 1 / -1; }
.pc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9, 14, 24, .82) 0%, rgba(9, 14, 24, 0) 55%); transition: opacity .3s; }
.pc:hover img { transform: scale(1.05); }
.pc-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .76rem; font-weight: 600; }
.pc-n { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(9, 14, 24, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; }
.pc-n .i { width: 14px; height: 14px; }
.pc-b { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; }
.pc-b b { display: block; font-size: 1.22rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.pc-b span { display: block; margin-top: 4px; font-size: .86rem; color: rgba(255, 255, 255, .72); }
.proj-more { display: flex; justify-content: center; margin-top: 26px; }
@media (max-width: 1000px) { .proj { grid-template-columns: repeat(6, 1fr); } .pc { grid-column: span 3; } .pc.is-w { grid-column: span 3; } }
@media (max-width: 600px) { .proj { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 10px; } .pc, .pc.is-w, .pc.is-f { grid-column: auto; } }

/* ---------- okna nad stranjo: stran pod njimi se ne premika ---------- */
html.dlg-open { overflow: hidden; }
.only-dlg { display: none; }

/* ---------- ogled projekta (celozaslonski) ---------- */
.pv { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0a0f17; color: #fff; }
.pv::backdrop { background: #0a0f17; }
.pv[open] { animation: pv-in .35s var(--ease-out); }
@keyframes pv-in { from { opacity: 0; } }
.pv-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 29vw, 420px); grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
.pv-top { grid-column: 1; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 24px 0 28px; }
.pv-crumb { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ff9fa3; }
.pv-count { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pv-count:empty { display: none; }
.pv-x { position: absolute; top: 14px; right: 18px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: background-color .2s; }
.pv-x:hover { background: var(--red); }
.pv-x .i { width: 18px; height: 18px; }
.pv-stage { grid-column: 1; grid-row: 2; position: relative; overflow: hidden; margin: 0 20px 0 28px; border-radius: 18px; background: #111925; touch-action: pan-y; user-select: none; }
.pv-bg { position: absolute; inset: -60px; background: center / cover no-repeat; filter: blur(46px) saturate(1.15); opacity: .5; }
.pv-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s var(--ease); -webkit-user-drag: none; }
.pv-imgs img.is-on { opacity: 1; }
.pv-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; background: rgba(10, 15, 23, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s; }
.pv-nav:hover { background: rgba(10, 15, 23, .85); }
.pv-nav .i { width: 24px; height: 24px; }
.pv-prev { left: 16px; } .pv-next { right: 16px; }
.pv.ena .pv-nav, .pv.ena .pv-strip, .pv.ena .pv-cap { display: none; }
.pv-stage:focus { outline: none; }
.pv-under { grid-column: 1; grid-row: 3; display: grid; gap: 12px; min-width: 0; padding: 14px 20px 20px 28px; }
.pv-cap { display: flex; align-items: center; gap: 10px; min-height: 1.5em; font-size: 1rem; color: rgba(255, 255, 255, .88); }
.pv-cap b { flex: none; padding: 3px 9px; border-radius: 7px; background: var(--red); color: #fff; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.pv-strip { display: flex; gap: 8px; overflow-x: auto; padding: 3px; scrollbar-width: none; }
.pv-strip::-webkit-scrollbar { display: none; }
.pv-strip button { flex: none; width: 92px; height: 64px; border-radius: 10px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .2s, outline-color .2s; }
.pv-strip button:hover { opacity: .8; }
.pv-strip button.is-on { opacity: 1; outline-color: #fff; }
.pv-strip img { width: 100%; height: 100%; object-fit: cover; }
.pv-side { grid-column: 2; grid-row: 1 / -1; display: flex; flex-direction: column; min-height: 0; background: var(--card); color: var(--ink); }
.pv-side-in { flex: 1; overflow-y: auto; padding: 82px 32px 26px; scrollbar-width: thin; }
.pv-cat { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.pv-h { margin-top: 10px; font-size: clamp(1.7rem, 2.2vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.pv-facts { margin-top: 22px; border-top: 1px solid var(--line); }
.pv-facts li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pv-facts .i { width: 18px; height: 18px; color: var(--red); }
.pv-facts span { color: var(--muted); }
.pv-facts b { text-align: right; font-weight: 600; }
.pv-desc { margin-top: 18px; color: var(--ink-2); line-height: 1.62; }
.pv-desc:empty { display: none; }
.pv-side h3 { margin-top: 28px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pv-steps { display: grid; gap: 4px; margin-top: 10px; }
.pv-steps button { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 10px; width: 100%; padding: 10px 12px; border-radius: 12px; text-align: left; transition: background-color .2s; }
.pv-steps button:hover { background: var(--bg); }
.pv-steps button.is-on { background: var(--red-soft); }
.pv-steps span { grid-row: span 2; padding-top: 2px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.pv-steps b { font-weight: 600; }
.pv-steps small { font-size: .86rem; line-height: 1.4; color: var(--muted); }
.pv-rel, .svc-rel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 12px; }
.rel-c { display: grid; align-content: start; gap: 8px; text-align: left; }
.rel-c img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bg-2); transition: opacity .2s; }
.rel-c:hover img { opacity: .82; }
.rel-c small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rel-c b { display: block; margin-top: 2px; font-size: .92rem; font-weight: 600; line-height: 1.25; }
.pv-cta { display: flex; gap: 8px; padding: 16px 32px 22px; border-top: 1px solid var(--line); background: var(--card); }
.pv-cta .btn-red { flex: 1; }
.pv-tel { flex: none; width: 56px; padding: 0; }
.pv-tel span { display: none; }
@media (max-width: 900px) {
  .pv-in { display: block; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
  .pv-top { position: sticky; top: 0; z-index: 5; min-height: 60px; padding: 0 10px 0 16px; background: rgba(10, 15, 23, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .pv-x { position: static; flex: none; }
  /* višina po obliki fotografije – brez praznih pasov nad in pod ležečo fotografijo */
  .pv-stage { height: auto; aspect-ratio: 4 / 3; max-height: 64svh; margin: 0; border-radius: 0; }
  .pv-nav { width: 44px; height: 44px; margin-top: -22px; }
  .pv-prev { left: 10px; } .pv-next { right: 10px; }
  .pv-under { padding: 12px 16px 18px; }
  .pv-cap { align-items: flex-start; font-size: .95rem; }
  .pv-strip button { width: 76px; height: 54px; }
  .pv-side { display: block; border-radius: 22px 22px 0 0; }
  .pv-side-in { overflow: visible; padding: 24px 18px 28px; }
  .pv-cta { position: sticky; bottom: 0; z-index: 4; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .35); }
}
@media (max-width: 900px) and (max-height: 500px) { .pv-stage { aspect-ratio: auto; height: 80svh; max-height: none; } }

/* ---------- storitev in povpraševanje (okni) ---------- */
.sh { width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--r-l); background: var(--card); color: var(--ink); box-shadow: var(--sh-3); overflow: hidden; }
.sh::backdrop { background: rgba(8, 12, 20, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sh[open] { animation: sh-in .4s var(--ease-out); }
@keyframes sh-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes sh-up { from { opacity: 0; transform: translateY(60px); } }
.sh-in { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.sh-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); transition: background-color .2s; }
.sh-x:hover { background: var(--bg-2); }
.sh-svc .sh-x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .94); box-shadow: var(--sh-1); }
.sh-k { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sh-h { margin-top: 6px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; outline: none; }
.sh-p { margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; line-height: 1.62; }
.sh-h3 { margin-top: 24px; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-hero img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.sh-body { padding: 26px 30px 6px; }
.svc-inc { display: grid; gap: 9px; margin-top: 12px; }
.svc-inc li { display: flex; gap: 10px; line-height: 1.4; }
.svc-inc .i { flex: none; width: 20px; height: 20px; color: #16a34a; stroke-width: 2.6; }
.svc-rel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sh-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 16px 30px 20px; border-top: 1px solid var(--line); background: var(--card); }
.sh-foot .btn { flex: 1 1 230px; }
.sh-inq { width: min(740px, calc(100% - 32px)); }
.sh-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 0; }
.inq-ctx { margin: 14px 28px 0; padding: 10px 14px; border-radius: 12px; background: var(--red-soft); color: var(--ink); font-size: .94rem; font-weight: 500; }
.inq-slot { padding: 6px 12px 0; }
.inq-slot .form-card { padding: 16px; background: transparent; box-shadow: none; }
.inq-alt { padding: 4px 28px 24px; font-size: .92rem; color: var(--muted); }
.inq-alt a { color: var(--ink); font-weight: 600; }
.sh-inq .only-dlg { display: inline-flex; }
/* v oknu je gumb za pošiljanje vedno viden */
.sh-inq #f-send { position: sticky; bottom: 14px; z-index: 2; box-shadow: 0 14px 30px -12px rgba(196, 38, 46, .65); }
.done-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.form-card.poudari { animation: poudari 1.2s var(--ease); }
@keyframes poudari { 30% { box-shadow: 0 0 0 6px rgba(196, 38, 46, .3), var(--sh-2); } }
@media (max-width: 640px) {
  .sh { width: 100%; max-width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .sh[open] { animation: sh-up .42s var(--ease-out); }
  .sh-in { max-height: 94dvh; }
  .sh-body { padding: 20px 18px 4px; }
  .sh-foot { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  .sh-head { padding: 18px 16px 0 18px; }
  .inq-ctx { margin: 12px 18px 0; }
  .inq-slot { padding: 0 2px; }
  .inq-alt { padding: 2px 18px calc(20px + env(safe-area-inset-bottom)); }
  .svc-rel { grid-template-columns: 1fr 1fr; }
  .svc-hero img { aspect-ratio: 16 / 9; }
}

/* kartica reference: jasno, da se odpre */
.pc-b .pc-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .84rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease-out); }
.pc-open .i { width: 16px; height: 16px; }
.pc:hover .pc-open, .pc:focus-visible .pc-open { opacity: 1; transform: none; }
@media (hover: none) { .pc-b .pc-open { opacity: .9; transform: none; } }
.story-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.story-ctas .story-cta { margin-top: 0; }
.btn-line-light { border: 1.5px solid rgba(255, 255, 255, .32); background: transparent; color: #fff; }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); }

/* ---------- izračun na domači strani ---------- */
.calc-sec { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(196, 38, 46, .2), transparent 60%), var(--ink); color: #fff; }
.calc-head { margin-bottom: clamp(26px, 3.5vw, 42px); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps::before { content: ''; position: absolute; left: 30px; right: 30px; top: 28px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.steps li { position: relative; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.steps-n { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin: -2px 0 18px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; }
.steps-t { position: absolute; top: 28px; right: 22px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.steps b { display: block; font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .96rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- about ---------- */
.about { padding: 0 0 clamp(72px, 10vw, 140px); }
.about-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.about-img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--sh-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); max-width: 52ch; }
.about-copy .h2 { margin-bottom: 6px; }
.about-sign { margin-top: 30px; }
.about-sign span { display: block; font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; }
.about-sign small { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .about-in { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 90px); }
.faq-head { position: sticky; top: calc(var(--head) + var(--storm) + 32px); align-self: start; }
.faq-head .lead { margin-top: 18px; }
.faq-head a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(1.08rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 22px; height: 22px; color: var(--red); transition: transform .35s var(--ease-out); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list p { padding: 0 0 24px; max-width: 62ch; color: var(--ink-2); }
.faq-list p a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); }
.contact-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy .lead { margin-top: 18px; }
.contact-big { display: grid; margin-top: 32px; }
.contact-big small { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-big b { font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: color .2s; }
.contact-big:hover b { color: var(--red); }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.i-viber { color: #7360f2; }
.contact-meta { display: grid; gap: 10px; margin-top: 26px; color: var(--muted); }
.contact-meta li { display: flex; align-items: center; gap: 10px; }
.contact-meta .i { color: var(--red); }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh-2); container-type: inline-size; }
.fq { margin: 0 0 18px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fq legend, .fl { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.fq legend > span, .fl > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-size: .9rem; font-weight: 700; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks span { display: flex; align-items: center; gap: 8px; min-height: 50px; height: 100%; padding: 8px 10px; overflow-wrap: break-word; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-size: .96rem; font-weight: 500; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.picks span::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 7px; border: 2px solid #a6a29b; background: #fff center / 15px no-repeat; transition: background-color .2s, border-color .2s; }
.picks input:checked + span { border-color: var(--red); background: #fcf1ed; }
.picks input:checked + span::before { border-color: var(--red); background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.picks input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
@container (min-width: 560px) { .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fq-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: center; gap: 14px; } .fq-row .fl { margin: 0; } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@container (max-width: 360px) { .pair { grid-template-columns: 1fr; } }
.in { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font-size: 1.02rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.in:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196, 38, 46, .14); }
.in.is-bad { border-color: var(--red); }
textarea.in { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-err { margin-top: 12px; text-align: center; }
.send-err a { color: inherit; text-decoration: underline; }
.err { margin-top: 6px; color: var(--red); font-size: .86rem; font-weight: 500; }
.more { margin-bottom: 16px; border-radius: 16px; background: var(--bg); }
.more summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; list-style: none; cursor: pointer; font-weight: 600; }
.more summary::-webkit-details-marker { display: none; }
.more summary .i { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .3s var(--ease-out); }
.more[open] summary .i { transform: rotate(45deg); }
.more summary small { font-weight: 400; color: var(--muted); white-space: nowrap; }
.more textarea, .more .drop, .more .thumbs { margin: 0 16px 14px; width: calc(100% - 32px); }
.drop { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; border-radius: 14px; border: 2px dashed var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .i { color: var(--red); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumbs div { position: relative; width: 70px; height: 70px; border-radius: 12px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; }
.thumbs .i { width: 14px; height: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 4px; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--red); }
#f-send { margin-top: 14px; }
.calc-att { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 8px 12px 14px; border-radius: 14px; background: #fcf1ed; border: 1px solid #f1d3c9; }
.calc-att > .i { width: 24px; height: 24px; color: var(--red); }
.calc-att div { flex: 1; min-width: 0; }
.calc-att b { display: block; font-size: .92rem; }
.calc-att span { display: block; font-size: .86rem; color: var(--ink-2); }
.x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.done { padding: 30px 6px 10px; text-align: center; }
.done:focus { outline: none; }
.done-ok { width: 86px; height: 86px; margin: 0 auto; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-ok circle { stroke-dasharray: 151; stroke-dashoffset: 151; opacity: .3; animation: draw .8s var(--ease-out) forwards; }
.done-ok path { stroke-dasharray: 40; stroke-dashoffset: 40; stroke-width: 4; animation: draw .5s .45s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin-top: 20px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -.03em; }
.done p { margin: 10px auto 24px; max-width: 42ch; color: var(--muted); }
.done p a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding: clamp(56px, 7vw, 90px) 0 30px; background: #0d141f; color: rgba(255, 255, 255, .64); font-size: .95rem; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 30ch; }
.foot h3 { margin-bottom: 14px; color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.foot ul { display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.foot-admin { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot { padding-bottom: 110px; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- mobile dock ---------- */
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(13, 20, 31, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transform: translateY(150%); transition: transform .5s var(--ease-out); }
.dock.is-on { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; color: #fff; font-size: .92rem; font-weight: 600; }
.dock .i { width: 18px; height: 18px; }
.dock-call { background: var(--red); }
.dock-calc { background: rgba(255, 255, 255, .1); }
.dock-inq { background: #fff; color: var(--ink) !important; }
@media (max-width: 900px) { .dock { display: grid; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: .95rem; box-shadow: var(--sh-3); transform: translateX(-50%); animation: toast .4s var(--ease-out); pointer-events: none; }
.toast .i { color: #4ade80; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 900px) { .toast { top: calc(var(--head) + var(--storm) + 10px); bottom: auto; } }
@media (max-width: 900px) { .logo-img { width: 127px; height: 50px; } }
@media (max-width: 400px) { .eyebrow { letter-spacing: .12em; } }
