/* OBEXONE – skupni slogi. Pisave so na strežniku (/fonts/), brez zunanjih virov. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/archivo-latin-ext-wght-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;
  src: url(../fonts/archivo-latin-wght-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 {
  /* Barve. Modra je začasna, dokler ni HEX kode iz CGP. */
  --black: #000;
  --ink: #16181b;
  --paper: #f4f4f2;
  --stone: #e6e7e3;
  --joint: #c8cac5;
  --muted: #555b61;
  --muted-dark: #a7adb3;
  --blue: #35516a;        /* modra na svetli podlagi */
  --blue-hover: #2a4256;
  --blue-dark: #6e8fae;   /* modra na temni podlagi */
  --blue-dark-hover: #88a6c2;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --nav-h: 64px;
  --r-l: 22px;
  --r-m: 14px;
  --sec: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.0625rem, 0.2vw + 1rem, 1.125rem);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; line-height: 1.06; font-weight: 720; letter-spacing: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(calc(100% - 2 * var(--pad)), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 640; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-blue-d { background: var(--blue-dark); color: #000; }
.btn-blue-d:hover { background: var(--blue-dark-hover); }
.btn-line-d { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-line-d:hover { border-color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.micro { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.text-link { font-weight: 640; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--blue); }

/* ---------- Navigacija (plavajoča, črna) ---------- */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 60;
  width: min(calc(100% - 24px), 1280px); margin-inline: auto;
  background: var(--black); color: #fff; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.09);
}
.menu-open .nav { box-shadow: 0 0 0 1px #2c2e31, 0 24px 48px rgba(0,0,0,.55); }
.nav-bar { display: flex; align-items: center; gap: 16px; min-height: var(--nav-h); padding: 0 10px 0 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 760; font-size: 1.05rem; letter-spacing: .08em; }
.logo svg { width: 24px; height: 24px; }
.logo circle { stroke: var(--blue-dark); }
.nav-menu { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-menu ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu ul a { display: block; padding: 10px 13px; border-radius: 10px; color: #dfe2e5; text-decoration: none; font-size: .96rem; }
.nav-menu ul a:hover { color: #fff; background: #1d1f22; }
.nav-menu ul a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--blue-dark); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--blue-dark); color: #000; font-weight: 680; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { background: var(--blue-dark-hover); }
.nav-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: #1d1f22; color: #fff; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; }
.menu-open .nav-toggle span { border-color: transparent; }
.menu-open .nav-toggle span::after { top: 2px; transform: rotate(45deg); }
.menu-open .nav-toggle span::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-bar { flex-wrap: wrap; padding: 0 10px 0 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 4px 0 14px; }
  .menu-open .nav-menu { display: flex; }
  .nav-menu ul { flex-direction: column; }
  .nav-menu ul a { padding: 13px 8px; font-size: 1.15rem; border-radius: 8px; }
  .nav-phone { justify-content: center; min-height: 52px; }
}

/* Mobilna vrstica »Pokličite« */
.callbar { display: none; }
@media (max-width: 920px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 58px; padding: 0 16px env(safe-area-inset-bottom, 0px);
    background: var(--blue); color: #fff; font-weight: 680; font-size: 1.05rem; text-decoration: none;
    box-shadow: 0 -1px 0 rgba(0,0,0,.25);
  }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Hero ---------- */
.hero { background: var(--black); color: #fff; padding-top: calc(12px + var(--nav-h) + clamp(44px, 7vw, 104px)); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 760; line-height: 1; letter-spacing: 0.002em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; margin-top: clamp(28px, 3.4vw, 48px); }
.hero-lead { margin: 0; max-width: 40ch; color: #d3d6d9; font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); line-height: 1.5; }
.hero .micro, .band .micro, .sec-dark .micro { color: var(--muted-dark); }
.hero-media { position: relative; width: min(calc(100% - 24px), 1280px); margin: clamp(40px, 5vw, 72px) auto 0; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-l) var(--r-l) 0 0; }
.hero-media figcaption { position: absolute; left: 16px; bottom: 16px; }
.hero-media figcaption a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: .9rem; text-decoration: none; }
.hero-media figcaption a:hover { background: #000; }

@media (max-width: 760px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-media { width: 100%; margin-top: 40px; }
  .hero-media img { aspect-ratio: 1 / 1; border-radius: 0; }
}

/* ---------- Sekcije ---------- */
.sec { padding-block: var(--sec); }
.sec-stone { background: var(--stone); }
.sec-dark { background: var(--black); color: #fff; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.sec-head-row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Storitve – kartice kot plošče s fugami */
.tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
  background: var(--joint); border: 4px solid var(--joint); border-radius: var(--r-l); overflow: hidden;
}
.tile { display: flex; flex-direction: column; min-height: 320px; padding: clamp(28px, 3.4vw, 48px); background: var(--paper); }
.tile h3 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.tile p { margin: 14px 0 0; max-width: 46ch; color: var(--muted); }
.tile .tile-use { margin-top: 18px; color: var(--ink); font-size: .98rem; }
.tile-use strong { font-weight: 660; }
.tile-link { margin-top: auto; padding-top: 24px; align-self: flex-start; font-weight: 640; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.tile-link:hover { color: var(--blue); }
.also { margin-top: 28px; max-width: 70ch; color: var(--muted); }
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}

/* SEO sekcija */
.seo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.seo-text h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); max-width: 14ch; }
.seo-lead { margin-top: 20px; font-size: 1.2rem; }
.seo-text h3 { margin: 36px 0 10px; font-size: 1.35rem; }
.seo-text p { max-width: 62ch; }
.how { margin: 0; padding-left: 1.3em; }
.how li { padding-left: 4px; margin-bottom: 6px; }
.how li::marker { color: var(--blue); font-weight: 700; }
.more { margin-top: 28px; color: var(--muted); }
.more a { color: var(--ink); }
.seo-fig { position: sticky; top: 104px; margin: 0; padding: clamp(22px, 2.6vw, 36px); background: var(--paper); border-radius: var(--r-l); }
.fig-title { font-size: 1.3rem; margin-bottom: 18px; }
.seo-fig figcaption { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.diagram { width: 100%; height: auto; }
.diagram text { font-family: var(--font); fill: var(--ink); }
.diagram .lbl { font-size: 19px; font-weight: 650; }
.diagram .num { font-size: 15px; font-weight: 700; fill: #fff; }
.diagram .cap { font-size: 14px; fill: #555b61; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.swatches svg { width: 100%; height: auto; border-radius: 10px; }
.swatches strong { display: block; margin-top: 10px; font-size: .98rem; }
.swatches span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; margin-top: 2px; }
@media (max-width: 900px) {
  .seo { grid-template-columns: 1fr; }
  .seo-fig { position: static; }
}
@media (max-width: 480px) {
  .swatches { gap: 8px; }
  .swatches span { font-size: .82rem; }
}

/* Postopek */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.process li { border-top: 2px solid var(--ink); padding-top: 20px; }
.process-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; }
.process h3 { margin-top: 18px; font-size: 1.3rem; }
.process p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Reference */
.ref-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ref-main img, .ref-side img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); }
.ref-main img { aspect-ratio: 3 / 4; }
.ref-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.ref-side img { aspect-ratio: 5 / 4; }
.ref-text { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 32px); background: var(--paper); border-radius: var(--r-l); }
.ref-cat { color: var(--blue); font-weight: 640; font-size: .95rem; }
.ref-text h3 { margin-top: 8px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.ref-text p { margin-top: 12px; color: var(--muted); }
.ref-text a { margin-top: auto; padding-top: 18px; font-weight: 640; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.ref-text a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.ref-text a:hover { color: var(--blue); }
@media (max-width: 860px) {
  .ref-feature { grid-template-columns: 1fr; }
  .ref-side { grid-template-rows: auto; }
}

/* O nas (prikaže se, ko je besedilo v site_config.py) */
.about { max-width: 760px; font-size: 1.2rem; }
.about h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); margin-bottom: 20px; }

/* CTA pas z videom */
.band { position: relative; overflow: hidden; width: min(calc(100% - 24px), 1280px); margin: clamp(56px, 7vw, 96px) auto; border-radius: var(--r-l); background: #1a1b1c; color: #fff; isolation: isolate; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,.42) 100%); }
.band-inner { padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 88px); max-width: 860px; }
.band h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 28px; }

/* Vprašanja */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-intro h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.faq-intro p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.faq-intro a { color: var(--ink); font-weight: 640; }
.faq-list details { border-top: 1px solid var(--joint); }
.faq-list details:last-child { border-bottom: 1px solid var(--joint); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.18rem; font-weight: 640; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue); }
.faq-list .answer { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.contact-lead { margin-top: 18px; color: #d3d6d9; font-size: 1.15rem; max-width: 40ch; }
.contact-big { display: inline-block; margin-top: 32px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 720; text-decoration: none; color: #fff; }
.contact-big:hover { color: var(--blue-dark); }
.contact-mail { display: block; margin-top: 6px; font-size: 1.2rem; color: #fff; }
.contact-area { margin-top: 24px; color: var(--muted-dark); }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 620; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--joint); border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(53,81,106,.22); }
.field input[aria-invalid="true"] { border-color: #a1271b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 20px; }
.form-submit .micro { margin: 0; color: var(--muted); }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; border-radius: 12px; background: #e3ece6; color: #1f4d2e; }
.form-status.is-err { padding: 14px 16px; border-radius: 12px; background: #f4e3e0; color: #7a1f14; }
.form-status a { color: inherit; }
.form-noscript { margin-top: 16px; }
.form-privacy { margin: 18px 0 0; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-submit .btn { width: 100%; }
}

/* ---------- Noga ---------- */
.foot { background: var(--black); color: #c9cdd1; padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 1px solid #26282b; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { margin-top: 16px; max-width: 34ch; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--blue-dark); }
.foot h2 { font-size: 1rem; font-weight: 640; color: var(--muted-dark); margin-bottom: 14px; }
.foot-contact a { display: block; margin-bottom: 8px; }
.foot-contact .foot-phone { font-size: 1.4rem; font-weight: 700; }
.foot-company { margin-top: 16px; font-size: .92rem; color: var(--muted-dark); }
.foot-company p { margin: 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #26282b; font-size: .9rem; color: var(--muted-dark); }
.foot-bottom p { margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Podstrani ---------- */
.page-head { padding: calc(12px + var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(36px, 5vw, 64px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--joint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 20ch; }
.page-lead { margin-top: 20px; max-width: 58ch; color: var(--muted); font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); }
.meta { margin-top: 16px; color: var(--muted); font-size: .95rem; }

/* Seznam člankov in projektov */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: var(--sec); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-l); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card-cat { color: var(--blue); font-weight: 640; font-size: .92rem; }
.card h2, .card h3 { margin-top: 8px; font-size: 1.35rem; line-height: 1.2; }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h2 a, .card:hover h3 a { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.card-wide { grid-column: span 2; }
.card-wide img { aspect-ratio: 16 / 9; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card-wide { grid-column: auto; } }

/* Projekt */
.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); }
.facts { margin: 0; background: #fff; border-radius: var(--r-l); padding: 8px 24px; }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--stone); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 620; }
.project-text p { max-width: 60ch; font-size: 1.12rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: var(--sec); }
.gallery a { display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); aspect-ratio: 3 / 4; }
.gallery a:first-child { grid-row: span 2; }
.gallery a:first-child img { aspect-ratio: auto; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery a:first-child { grid-row: auto; } .gallery img, .gallery a:first-child img { aspect-ratio: 4 / 5; } }

/* Članek */
.article-hero { width: min(calc(100% - 24px), 1280px); margin: 0 auto; }
.article-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-l); }
@media (max-width: 620px) { .article-hero { width: 100%; } .article-hero img { aspect-ratio: 4 / 3; border-radius: 0; } }
.prose { max-width: 68ch; padding-block: clamp(40px, 5vw, 72px); }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(1.55rem, 2.2vw, 1.9rem); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); }
.prose strong { font-weight: 660; }
.prose a { color: var(--blue); font-weight: 560; }

/* Primerjalna tabela – na mobilnem se zloži v kartice */
.compare-wrap { margin: 1.5em 0 2em; overflow-x: auto; }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; background: #fff; border-radius: var(--r-m); overflow: hidden; font-size: 1rem; line-height: 1.45; }
.compare caption { text-align: left; font-weight: 640; padding-bottom: 10px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stone); }
.compare thead th { background: var(--ink); color: #fff; font-weight: 640; }
.compare tbody th { font-weight: 640; width: 18%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; }
  .compare { min-width: 0; background: none; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { margin-bottom: 14px; background: #fff; border-radius: var(--r-m); padding: 6px 18px 10px; }
  .compare tbody th { width: auto; padding: 12px 0 6px; border: 0; font-size: 1.1rem; }
  .compare td { display: grid; grid-template-columns: 6.2em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--stone); }
  .compare td:last-child { border-bottom: 0; }
  .compare td::before { content: attr(data-label); font-weight: 640; color: var(--blue); }
}

/* CTA okvir na koncu podstrani */
.cta-box { background: var(--black); color: #fff; border-radius: var(--r-l); padding: clamp(32px, 5vw, 64px); margin-bottom: var(--sec); }
.cta-box h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; max-width: 22ch; }
.cta-box p { color: #d3d6d9; max-width: 52ch; margin-bottom: 26px; }
.cta-box .micro { margin: 12px 0 0; color: var(--muted-dark); }

.related { padding-bottom: var(--sec); }
.related h2 { font-size: 1.5rem; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--joint); }
.related li { border-bottom: 1px solid var(--joint); }
.related a { display: block; padding: 18px 0; font-size: 1.15rem; font-weight: 620; text-decoration: none; }
.related a:hover { color: var(--blue); }

.legal { padding-bottom: var(--sec); }
.legal h2 { font-size: 1.4rem; margin: 1.8em 0 .5em; }

.simple { padding-bottom: var(--sec); }
.simple .cta-row { margin-top: 28px; }
.plain { padding-top: 64px; }

/* Na kratko (povzetek na vrhu podstrani) */
.summary { margin: 0 0 2.2em; padding: 18px 22px; border-left: 4px solid var(--blue); background: #fff; border-radius: 0 var(--r-m) var(--r-m) 0; font-size: 1.08rem; }
.summary p { margin: 0; }
.summary strong { font-weight: 660; }

/* Kje delamo */
.places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; max-width: 900px; }
.places li { padding: 9px 15px; background: var(--paper); border: 1px solid var(--joint); border-radius: 999px; font-size: .96rem; }

/* Vprašanja na podstraneh */
.prose-faq { max-width: 68ch; padding-bottom: clamp(40px, 5vw, 64px); }
.prose-faq h2 { font-size: clamp(1.55rem, 2.2vw, 1.9rem); margin-bottom: 6px; }

/* Od vgradnje do končne površine */
.full-service { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 28px; padding: clamp(28px, 3.4vw, 44px); background: var(--black); color: #fff; border-radius: var(--r-l); }
.full-service h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.full-service p { margin: 12px 0 0; color: #d3d6d9; max-width: 52ch; }
.full-service-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.choices li { padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .95rem; }
.full-service .btn-blue { background: var(--blue-dark); color: #000; }
.full-service .btn-blue:hover { background: var(--blue-dark-hover); }
@media (max-width: 760px) { .full-service { grid-template-columns: 1fr; } }

.cards-home { padding-bottom: 0; }
