/* =========================================================
   Prava mera – slog strani
   Barve in pisava so nastavljene spodaj v :root.
   ========================================================= */

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

:root {
  --petrol: #0E4D57;
  --petrol-d: #0A3940;
  --voda: #6FC2C0;
  --voda-ink: #0B2E33;
  --kamen: #E4E9E7;
  --kamen-2: #F2F5F4;
  --grafit: #1E2B2F;
  --muted: #4F5E62;
  --medenina: #B8893B;
  --line: #CBD3D1;
  --white: #FFFFFF;
  --err: #B3261E;

  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --max: 1180px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 10px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--grafit);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-d); }
h1, h2, h3 { font-weight: 820; font-stretch: 112%; line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; color: var(--grafit); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-stretch: 108%; }
p { margin: 0 0 1em; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--voda); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--kamen { background: var(--kamen-2); }
.section--petrol { background: var(--petrol); color: var(--white); }
.section--petrol h2, .section--petrol h3 { color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--petrol); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--medenina); }
.section--petrol .eyebrow, .hero .eyebrow { color: var(--voda); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section--petrol .lead { color: #C7DADB; }
.section-head { max-width: 720px; margin-bottom: 44px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--voda); color: var(--voda-ink); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Gumbi ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 8px; border: 2px solid transparent; font-family: inherit; font-size: 1rem; font-weight: 750; font-stretch: 105%; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--voda { background: var(--voda); color: var(--voda-ink); }
.btn--voda:hover { background: #86CFCC; color: var(--voda-ink); transform: translateY(-1px); }
.btn--petrol { background: var(--petrol); color: var(--white); }
.btn--petrol:hover { background: var(--petrol-d); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--petrol); }
.btn--line { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn--line:hover { background: var(--petrol); color: var(--white); }

/* ---------- Glava ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grafit); }
.brand svg { width: 42px; height: 42px; }
.brand__name { font-size: 1.35rem; font-weight: 850; font-stretch: 115%; letter-spacing: -0.01em; line-height: 1; color: var(--petrol); }
.brand__tag { display: block; font-size: 0.62rem; font-weight: 650; letter-spacing: 0.2em; color: var(--muted); margin-top: 4px; font-stretch: 100%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--grafit); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 8px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--petrol); box-shadow: inset 0 -2px 0 var(--medenina); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--petrol); text-decoration: none; white-space: nowrap; }
.nav__phone svg { width: 18px; height: 18px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -10px; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--grafit); transition: transform .25s, opacity .25s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 23px; } .menu-btn span:nth-child(3) { top: 30px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--petrol); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.06) 2px, transparent 2px); background-size: 88px 88px; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background-image: repeating-linear-gradient(90deg, var(--medenina) 0 2px, transparent 2px 22px), repeating-linear-gradient(90deg, var(--medenina) 0 2px, transparent 2px 110px); background-size: 100% 8px, 100% 14px; background-repeat: no-repeat; background-position: bottom, bottom; opacity: .9; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 104px); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--voda); }
.hero__sub { font-size: 1.18rem; color: #D3E3E3; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: 0.95rem; color: #B7CFD0; }

.plan { background: var(--white); color: var(--grafit); border-radius: 14px; padding: 24px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); }
.plan__title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--kamen-2); }
.plan li b { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; color: var(--petrol); }
.plan li span { font-size: 0.95rem; line-height: 1.35; }
.plan li.is-end { background: var(--voda); }
.plan li.is-end b { color: var(--voda-ink); }
.plan__foot { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Obljube ---------- */
.promises { background: var(--white); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.promises li { padding: 30px 22px; border-left: 1px solid var(--line); }
.promises li:first-child { border-left: 0; padding-left: 0; }
.promises strong { display: block; font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 850; font-stretch: 115%; line-height: 1; color: var(--petrol); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.promises span { font-size: 0.98rem; color: var(--muted); }

/* ---------- Kartice storitev ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--grafit); transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(14,77,87,.5); color: var(--grafit); }
.card h3 { margin: 6px 0 0; color: var(--petrol); }
.card p { margin: 0; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 10px; font-weight: 750; color: var(--petrol); display: inline-flex; align-items: center; gap: 8px; }
.card__more svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }
.icon { width: 52px; height: 52px; border-radius: 10px; background: var(--kamen); color: var(--petrol); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; }

.tasks { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tasks li { background: var(--white); padding: 20px 18px; display: flex; align-items: center; gap: 14px; font-weight: 650; line-height: 1.3; }
.tasks .icon { width: 42px; height: 42px; flex-shrink: 0; }
.tasks .icon svg { width: 22px; height: 22px; }
.tasks-title { margin: 56px 0 0; font-size: 1.3rem; }
.tasks-title + .tasks { margin-top: 18px; }

/* ---------- Urnik ---------- */
.gantt { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; overflow-x: auto; }
.gantt__grid { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(10, minmax(36px, 1fr)); row-gap: 8px; min-width: 760px; }
.gantt__day { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.gantt__day:first-child { text-align: left; }
.gantt__label { font-weight: 650; font-size: 0.97rem; line-height: 1.3; padding: 8px 12px 8px 0; align-self: center; }
.gantt__bar { border-radius: 6px; background: var(--petrol); min-height: 38px; align-self: stretch; }
.gantt__bar--voda { background: var(--voda); }
.gantt__bar--kamen { background: #A9BDBC; }
.gantt__note { margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Postopek ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: k; }
.steps li { counter-increment: k; padding: 22px 18px; border-top: 3px solid var(--voda); background: rgba(255,255,255,.06); border-radius: 0 0 8px 8px; }
.steps li::before { content: counter(k); display: block; font-size: 2.2rem; font-weight: 850; font-stretch: 115%; color: var(--voda); line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 0.95rem; color: #C7DADB; }

/* ---------- Vključeno ---------- */
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.included li { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.included h3 { font-size: 1.05rem; margin: 14px 0 6px; }
.included p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Opozorilo, stroški ---------- */
.notice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; background: var(--white); border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: inset 6px 0 0 var(--medenina); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 4px; background: var(--voda) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2E33' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Pogosta vprašanja ---------- */
.faq { max-width: 840px; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 750; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 22px 20px; color: #33454A; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Povpraševanje ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.contact__info { background: var(--petrol); color: var(--white); border-radius: 14px; padding: 32px; }
.contact__info h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.contact__info p { color: #C7DADB; }
.info-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { background: rgba(255,255,255,.1); color: var(--voda); width: 44px; height: 44px; flex-shrink: 0; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list small { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9EBFC0; }
.info-list a, .info-list b { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.info-list a:hover { color: var(--voda); }
.mini-promises { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 8px; font-size: 0.95rem; color: #D3E3E3; }
.mini-promises li::before { content: "■"; color: var(--voda); font-size: 0.7rem; margin-right: 10px; vertical-align: 2px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 4vw, 38px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; font-size: 0.93rem; }
.req { color: var(--err); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--grafit);
  padding: 13px 14px; border: 1.5px solid #B5C1BF; border-radius: 8px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4D57' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(111,194,192,.35); }
.field input[type="file"] { padding: 10px; background: var(--kamen-2); }
.hint { font-size: 0.85rem; color: var(--muted); }
.err { display: none; font-size: 0.86rem; color: var(--err); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); }
.field.is-invalid .err { display: block; }
.consent { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.consent label { flex: 1 1 0; min-width: 0; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--petrol); }
.consent label { font-weight: 500; font-size: 0.93rem; color: #33454A; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot .btn { min-width: 220px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: none; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 600; }
.alert.is-shown { display: block; }
.alert--err { background: #FBEBEA; color: var(--err); }
.alert--ok { background: #E3F4F3; color: var(--voda-ink); }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(11,46,51,.3); border-top-color: var(--voda-ink); border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Podstrani ---------- */
.page-hero { background: var(--petrol); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.06) 2px, transparent 2px); background-size: 88px 88px; }
.page-hero .container { position: relative; padding-block: clamp(44px, 6vw, 80px); }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero p { color: #D3E3E3; font-size: 1.15rem; max-width: 640px; }
.crumbs { font-size: 0.9rem; margin-bottom: 18px; color: #9EBFC0; }
.crumbs a { color: #D3E3E3; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose h2 { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.panel { background: var(--kamen-2); border-radius: var(--radius); padding: 28px; }
.panel h3 { color: var(--petrol); }

.cta-band { background: var(--kamen); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; }
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Noga ---------- */
.footer { background: var(--grafit); color: #B8C4C6; font-size: 0.95rem; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer h2 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; font-stretch: 100%; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #DCE4E5; text-decoration: none; }
.footer a:hover { color: var(--voda); }
.footer .brand__name { color: var(--white); }
.footer .brand__tag { color: #9EB0B3; }
.footer__company { font-size: 0.86rem; line-height: 1.6; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.86rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #DCE4E5; cursor: pointer; text-decoration: underline; }

/* ---------- Mobilna vrstica ---------- */
.mobile-bar { display: none; }

/* ---------- Piškotki ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 560px; margin-left: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.4); padding: 22px; }
.cookie h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cookie p { font-size: 0.93rem; color: #33454A; margin-bottom: 14px; }
.cookie__opts { display: grid; gap: 10px; margin-bottom: 16px; }
.cookie__opts label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.cookie__opts input { width: 20px; height: 20px; accent-color: var(--petrol); flex-shrink: 0; margin-top: 2px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btns .btn { flex: 1 1 140px; min-height: 46px; }

/* ---------- Odzivnost ---------- */
@media (max-width: 1080px) {
  .tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 20px var(--gutter); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .nav { display: none; }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--kamen); font-size: 1.05rem; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { box-shadow: none; }
  .nav__phone { padding: 16px 0 8px; }
  .nav .btn { width: 100%; margin-top: 8px; }
  .hero__in, .contact, .two-col, .notice { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 36px; }
  .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises li { padding: 22px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .promises li:nth-child(-n+2) { border-top: 0; }
  .promises li:nth-child(odd) { padding-left: 0; }
  .promises li:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .cards, .tasks, .steps, .included, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tasks li { padding: 14px 16px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
  .mobile-bar .btn { min-height: 50px; padding: 0 12px; }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); left: 12px; right: 12px; }
  .gantt { padding: 0; border: 0; background: none; overflow: visible; }
  .gantt__grid { display: block; min-width: 0; }
  .gantt__day { display: none; }
  .gantt__label { display: block; padding: 14px 16px 14px 92px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; position: relative; }
  .gantt__label::before { content: attr(data-days); position: absolute; left: 16px; top: 14px; font-size: 0.8rem; font-weight: 800; color: var(--petrol); letter-spacing: 0.03em; }
  .gantt__bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Reference: prej / potem ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ref { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ba { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--kamen); touch-action: pan-y; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img, .ba__layer canvas, .gal__btn img, .gal__btn canvas, .lightbox__media img, .lightbox__media canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4D57' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.ba__tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.ba__tag--l { left: 12px; background: rgba(30,43,47,.8); color: var(--white); }
.ba__tag--r { right: 12px; background: var(--voda); color: var(--voda-ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + * , .ba:focus-within .ba__handle::after { outline: 3px solid var(--voda); outline-offset: 2px; }
.ref__body { padding: 20px 22px 24px; }
.ref__body h3 { margin: 8px 0 4px; color: var(--petrol); }
.ref__meta { font-size: 0.92rem; font-weight: 650; color: var(--medenina); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ref__body p:last-child { margin: 0; color: var(--muted); font-size: 0.97rem; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--kamen); color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }
.badge--sm { padding: 1px 8px; font-size: 0.7rem; vertical-align: 2px; }
.refs-more { margin-top: 28px; }

/* ---------- Galerija ---------- */
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gal__item { margin: 0; }
.gal__btn { display: block; width: 100%; aspect-ratio: 4 / 3; max-width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--kamen); }
.gal__btn img, .gal__btn canvas { transition: transform .4s; }
.gal__btn:hover img, .gal__btn:hover canvas { transform: scale(1.04); }
.gal__item figcaption { margin-top: 8px; font-size: 0.93rem; font-weight: 600; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(10,20,22,.88); }
.lightbox__media { aspect-ratio: 4 / 3; max-height: 80vh; margin: 0 auto; border-radius: 8px; overflow: hidden; background: var(--grafit); }
.lightbox__media img { object-fit: contain; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; color: var(--white); }
.lightbox__close { min-height: 44px; }

@media (max-width: 1080px) { .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .refs { grid-template-columns: minmax(0, 1fr); }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Meni s hamburgerjem tudi na tablicah in manjših prenosnikih */
@media (max-width: 1280px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 20px var(--gutter); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--kamen); font-size: 1.05rem; }
  .nav__links a:hover, .nav__links a[aria-current="page"] { box-shadow: none; color: var(--petrol); }
  .nav__phone { padding: 16px 0 8px; }
  .nav .btn { width: 100%; margin-top: 8px; }
}

/* ---------- Članki in daljša besedila ---------- */
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numlist { padding-left: 1.3em; display: grid; gap: 10px; }
.numlist li::marker { font-weight: 800; color: var(--petrol); }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose h3 { margin: 1.4em 0 0.4em; color: var(--petrol); }
.prose > ul { display: grid; gap: 6px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article { max-width: 720px; font-size: 1.08rem; }
.article__meta { font-size: 0.9rem; font-weight: 650; color: var(--medenina); margin-bottom: 1.4em; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 1080px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; } }
@media (max-width: 760px) { .cards--3 { grid-template-columns: minmax(0, 1fr); } }

.nav__links a, .brand__name, .btn, .nav__phone { white-space: nowrap; }

.refs { align-items: start; }
