/* ============================================================
   Business Solutions · BS Talks Osijek
   Vizualno sledi www.b-s.hr: grafitno ozadje, Titillium Web,
   rdeči pravokotni gumbi s puščico ↗, tanke ločilne črte,
   dvostolpčne sekcije (naslov levo, vsebina desno).
   ============================================================ */

@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg:      #1C1C1E;
  --bg-2:    #232326;
  --bg-3:    #2A2A2E;
  --line:    #3A3A3F;
  --red:     #FF0025;
  --red-dk:  #D9001F;
  --fg:      #FFFFFF;
  --fg-2:    #C9C9CE;
  --fg-3:    #8E8E95;
  --wrap:    min(1140px, 100% - 2rem);
  --font:    "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #fff; }

a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── gumbi in povezave ───────────────────────────────────── */

.btn {
  display: inline-flex; align-items: flex-end; justify-content: space-between; gap: 2.2rem;
  min-height: 52px;
  padding: .7rem .8rem .65rem 1.1rem;
  background: var(--red); color: #fff;
  font-weight: 700; font-size: 1.02rem; line-height: 1.1;
  text-decoration: none;
  transition: background .15s ease;
}
.btn i { font-style: normal; font-size: 1.15rem; align-self: flex-start; line-height: 1; }
.btn:hover { background: var(--red-dk); }
.btn-sm { min-height: 0; padding: .5rem .6rem .45rem .85rem; gap: 1.1rem; font-size: .92rem; }

.link {
  color: var(--fg); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--red); padding-bottom: 1px;
}
.link:hover { color: var(--red); }

/* ── glava ───────────────────────────────────────────────── */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .75rem max(1rem, (100% - 1140px) / 2);
  background: rgba(28,28,30,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.is-stuck { border-bottom-color: var(--line); }
.brand img { display: block; height: 28px; width: auto; }

.top-when { margin: 0; font-size: .92rem; color: var(--fg-2); white-space: nowrap; }
.top-when b { color: var(--fg); }

.top-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.top-nav a:not(.btn) { color: var(--fg-2); text-decoration: none; font-size: .92rem; font-weight: 600; }
.top-nav a:not(.btn):hover { color: var(--fg); }

@media (max-width: 860px) { .top-nav a:not(.btn) { display: none; } }
@media (max-width: 380px) { .top-when span { display: none; } }

/* ── hero ────────────────────────────────────────────────── */

.hero {
  width: var(--wrap); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-main {
  border-left: 1px solid var(--fg-3);
  padding-left: clamp(1rem, 3vw, 2.25rem);
  max-width: 50rem;
}

.kicker {
  margin: 0 0 1rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-2);
}
.kicker span { color: var(--red); margin: 0 .35em; }

.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.02em;
  max-width: 14ch;
}
.hero-lede {
  margin: 1.4rem 0 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--fg-2);
}

/* Datum, ura, kraj: isti zapis kot na strani za Zagreb, velike tanke številke. */
.when {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin: clamp(2rem, 5vw, 3.25rem) 0 0;
  padding-left: calc(clamp(1rem, 3vw, 2.25rem) + 1px);
}
.when dt {
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: .2rem;
}
.when dd { margin: 0; }
.when b {
  display: block;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 300;
  line-height: 1.05; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.when span { display: block; margin-top: .3rem; color: var(--fg-2); font-size: .95rem; }

@media (max-width: 640px) {
  .when { grid-template-columns: 1fr 1fr; }
  .when > div:last-child { grid-column: 1 / -1; }
}

.hero-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-left: calc(clamp(1rem, 3vw, 2.25rem) + 1px);
}
.hero-actions .btn { min-width: 200px; }
.hero-note {
  margin: 1rem 0 0;
  padding-left: calc(clamp(1rem, 3vw, 2.25rem) + 1px);
  font-size: .92rem; color: var(--fg-3);
}

/* ── sekcije: naslov levo, vsebina desno ─────────────────── */

.row {
  width: var(--wrap); margin: 0 auto;
  display: grid; gap: 1.5rem clamp(2rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .row-head { position: sticky; top: 92px; align-self: start; }
}

.label {
  margin: 0 0 .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
}
.row h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); line-height: 1.12; letter-spacing: -.01em; }
.row-sub { margin: 1rem 0 0; color: var(--fg-2); max-width: 34rem; }
.row-head .link { display: inline-block; margin-top: 1.1rem; }

.big { margin: 0 0 2rem; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; }
.aside { margin: 2rem 0 0; color: var(--fg-2); }

/* AI teme: oštevilčene, ločene s črtami */
.topics { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.topics li {
  counter-increment: t;
  display: grid; grid-template-columns: 3rem 1fr; gap: 0 .5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.topics li:last-child { border-bottom: 1px solid var(--line); }
.topics li::before {
  content: "0" counter(t);
  grid-row: span 2;
  font-weight: 700; color: var(--red); font-size: .95rem; padding-top: .2rem;
}
.topics h3 { font-size: 1.2rem; line-height: 1.3; }
.topics p { margin: .35rem 0 0; color: var(--fg-2); }

/* ── program ─────────────────────────────────────────────── */

.agenda { width: 100%; border-collapse: collapse; }
.agenda th, .agenda td { padding: 1.3rem 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.agenda tr:last-child th, .agenda tr:last-child td { border-bottom: 1px solid var(--line); }
.agenda th {
  width: 6.5rem;
  font-size: 1.35rem; font-weight: 300; line-height: 1.25;
  font-variant-numeric: tabular-nums;
}
.agenda h3 { font-size: 1.2rem; line-height: 1.3; }
.agenda p { margin: .35rem 0 0; color: var(--fg-2); }
.agenda .is-main th { color: var(--red); font-weight: 600; }
.agenda-sub { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--fg-2); }
.agenda-sub li { padding: .1rem 0; }
.agenda-sub li::marker { color: var(--red); font-weight: 700; }
.agenda-sub b { color: var(--fg); font-weight: 600; }
@media (max-width: 520px) { .agenda th { width: 4.6rem; font-size: 1.15rem; } }

/* ── showroom ────────────────────────────────────────────── */

.stands {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 0 2rem;
}
.stands li { padding: 1.15rem 0 1.25rem; border-top: 1px solid var(--line); }
.stands h3 { font-size: 1.12rem; }
.stands p { margin: .3rem 0 0; color: var(--fg-2); font-size: .95rem; }
.stands li:first-child h3 { color: var(--red); }

/* ── Zagreb ──────────────────────────────────────────────── */

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .ph { display: grid; place-items: center; border: 1px dashed var(--line); }
.gallery .ph span { font-size: .8rem; color: var(--fg-3); }

.numbers {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.numbers b {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--fg-2);
}
.numbers span { display: block; margin-top: .5rem; font-size: .9rem; color: var(--fg-2); line-height: 1.4; }
@media (max-width: 560px) { .numbers { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ── prijava ─────────────────────────────────────────────── */

.form-slot { min-height: 380px; background: var(--bg-2); padding: clamp(1.25rem, 3.5vw, 2rem); display: grid; }
.form-slot-empty { align-self: center; max-width: 30rem; }
.form-slot-empty b { display: block; font-size: 1.2rem; margin-bottom: .4rem; }
.form-slot-empty p { margin: 0; color: var(--fg-2); }
.form-slot-empty a { color: var(--fg); }
/* Ko je vstavljen pravi obrazec, okvir ne vsiljuje svoje postavitve. */
.form-slot:not(:has(.form-slot-empty)) { display: block; }

/* ── lokacija ────────────────────────────────────────────── */

.addr { margin: 1rem 0 0; font-style: normal; font-size: 1.15rem; line-height: 1.45; }
.map { background: var(--bg-2); aspect-ratio: 16 / 10; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) brightness(.92); }
@media (max-width: 560px) { .map { aspect-ratio: 4 / 3.4; } }

/* ── pitanja ─────────────────────────────────────────────── */

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.1rem 0;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 2.5rem 1.2rem 0; color: var(--fg-2); }

/* ── zaključek ───────────────────────────────────────────── */

.closing {
  width: var(--wrap); margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
}
.closing h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.05; margin-bottom: 1.75rem; }
.closing .btn { min-width: 200px; }

/* ── noga ────────────────────────────────────────────────── */

.foot {
  background: #141416;
  padding: 2.5rem max(1rem, (100% - 1140px) / 2) 3rem;
  display: grid; gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
  font-size: .9rem; color: var(--fg-3);
}
@media (min-width: 760px) { .foot { grid-template-columns: 2fr 1fr 1fr; } }
.foot p { margin: 0; line-height: 1.6; }
.foot b { color: var(--fg-2); }
.foot a { color: var(--fg-2); text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot-logo { display: block; height: 24px; width: auto; margin-bottom: 1rem; }

@media (prefers-contrast: more) {
  :root { --fg-2: #E6E6EA; --fg-3: #BDBDC4; --line: #6A6A70; }
}

/* ── dokazi pod herojem ──────────────────────────────────── */

.proof {
  list-style: none; margin: clamp(2rem, 4vw, 2.75rem) 0 0; padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 2.25rem;
  font-size: .95rem; color: var(--fg-2);
}
.proof b { color: var(--fg); font-weight: 700; margin-right: .2em; }
.proof li:first-child b { color: var(--red); }

/* ── fotografija čez celo širino ─────────────────────────── */

.band { margin: 0 auto clamp(1rem, 3vw, 2rem); width: var(--wrap); }
.band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 60%; }
.band figcaption { margin-top: .6rem; font-size: .85rem; color: var(--fg-3); }
@media (max-width: 640px) { .band img { aspect-ratio: 4 / 3; } }

/* ── izzivi ──────────────────────────────────────────────── */

.pains {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 0 2rem;
}
.pains li { padding: 1.2rem 0 1.35rem; border-top: 1px solid var(--line); }
.pains p { margin: 0; font-size: 1.12rem; line-height: 1.45; color: var(--fg); }
.pains span {
  display: block; margin-top: .6rem;
  font-size: .85rem; font-weight: 600; color: var(--red);
}

/* ── o nama ──────────────────────────────────────────────── */

.btn-ghost { background: transparent; border: 1px solid var(--fg-3); margin-top: 1.5rem; }
.btn-ghost:hover { background: transparent; border-color: var(--red); color: var(--fg); }
.btn-ghost i { color: var(--red); }

#o-nama .numbers { margin-top: 0; row-gap: 2.25rem; }
@media (max-width: 560px) { #o-nama .numbers { grid-template-columns: 1fr 1fr; } }
.numbers li:first-child b { -webkit-text-stroke-color: var(--red); }

/* ── galerija s pravimi fotografijami ────────────────────── */


.foot-more { display: inline-block; margin-top: .4rem; }

/* Naslov: najprej druženje, nato vaba (AI). */
.hero h1 { max-width: 16ch; }
.h1-sub {
  display: block; max-width: 24ch;
  margin-top: .45em;
  font-size: .5em; line-height: 1.2; letter-spacing: -.005em;
  color: var(--red);
}
.hero h1 .hl { color: var(--red); }

/* ── partner in certifikati nad nogo ─────────────────────── */

.trust {
  width: var(--wrap); margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
}
.trust-title { margin: 0; max-width: 26rem; color: var(--fg-2); font-size: .95rem; }
.trust-logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2.75rem; }
.trust-logos img { display: block; height: 88px; width: auto; opacity: .9; }
.trust-logos .ms { display: flex; align-items: center; gap: .75rem; height: 88px; }
.ms-logo { width: 40px; height: 40px; flex: none; }
.ms-text { display: flex; flex-direction: column; line-height: 1.05; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.ms-name { font-size: 1.55rem; font-weight: 600; color: #F2F2F2; letter-spacing: -.01em; }
.ms-sub { font-size: 1.05rem; font-weight: 400; color: var(--fg-2); }
.kicker-lg { font-size: clamp(.95rem, 1.6vw, 1.1rem); color: var(--fg); letter-spacing: .06em; }

/* Ime dogodka je blagovna znamka, zato je naslov. */
.hero h1.brand-title { max-width: none; }
.brand-sub { display: block; color: var(--red); }
.tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.25;
}
.tagline .hl { color: var(--red); }

/* ── prijavni obrazec (Mailchimp) ────────────────────────── */

.signup {
  position: relative;
  background: var(--bg-2);
  border-top: 3px solid var(--red);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.signup-head { grid-column: 1 / -1; margin-bottom: .25rem; }
.signup-head h3 { font-size: 1.45rem; line-height: 1.2; }
.signup-head p { margin: .3rem 0 0; color: var(--fg-2); font-size: .95rem; }
.signup-head p b { color: var(--fg); font-weight: 600; }

.signup .field { display: flex; flex-direction: column; gap: .45rem; }
.signup label { font-size: .9rem; font-weight: 600; color: var(--fg); }
.signup label span { color: var(--red); margin-left: .15em; }
.signup input {
  font: inherit; font-size: 1rem; color: var(--fg);
  background: #2E2E33;
  border: 1px solid #47474E; border-radius: 0;
  padding: 0 1rem; height: 52px; width: 100%;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.signup input::placeholder { color: #7C7C84; }
.signup input:hover { border-color: #5E5E66; }
.signup input:focus { outline: none; border-color: var(--red); background: #333338; box-shadow: 0 0 0 3px rgba(255,0,37,.18); }
.signup input[aria-invalid="true"] { border-color: var(--red); }
/* Chrome autofill bi polje pobarval rumeno-belo. */
.signup input:-webkit-autofill,
.signup input:-webkit-autofill:hover,
.signup input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 100px #333338 inset;
  caret-color: var(--fg);
}
.signup .hp { position: absolute; left: -5000px; }

.signup .btn {
  grid-column: 1 / -1; width: 100%;
  min-height: 58px; margin-top: .35rem;
  border: 0; cursor: pointer; font-family: var(--font); font-size: 1.1rem;
  align-items: center;
}
.signup .btn i { align-self: center; }
.signup .btn[disabled] { opacity: .6; cursor: wait; }
.signup-legal { grid-column: 1 / -1; margin: -.2rem 0 0; font-size: .82rem; color: var(--fg-3); }
.signup-msg { grid-column: 1 / -1; margin: 0; padding: .9rem 1rem; border-left: 3px solid var(--red); background: rgba(255,0,37,.1); color: var(--fg); }
.signup-msg.is-ok { border-left-color: #3BB273; background: rgba(59,178,115,.12); }
@media (max-width: 560px) { .signup { grid-template-columns: 1fr; } }

/* ── fotografije pultov v showroomu ──────────────────────── */

.stand-photos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem;
  margin-bottom: 2.25rem;
}
.stand-photos figure { margin: 0; }
.stand-photos .sp-main { grid-column: 1 / -1; }
.stand-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.stand-photos .sp-main img { aspect-ratio: 16 / 9; object-position: center 40%; }
.stand-photos figcaption { margin-top: .5rem; font-size: .85rem; color: var(--fg-3); line-height: 1.4; }
@media (max-width: 520px) { .stand-photos { grid-template-columns: 1fr; } }

.gallery img { object-position: center 35%; }

/* Galerija z 9 fotografijami: 3 x 3 na širšem zaslonu. */
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* ── znak BS Talks: dve rdeči diagonali (kot backdrop na odru, -14°) ── */
.hero, .closing { position: relative; }
.hero::before, .hero::after, .closing::before, .closing::after {
  content: ""; position: absolute; top: 0; background: var(--red);
  transform: skewX(-14deg); transform-origin: top left; pointer-events: none;
}
.hero::before { right: 64px;  width: 22px; height: clamp(110px, 22vw, 280px); }
.hero::after  { right: 30px;  width: 5px;  height: clamp(110px, 22vw, 280px); opacity: .8; }
.closing::before { right: 64px; width: 22px; height: 100%; }
.closing::after  { right: 30px; width: 5px;  height: 100%; opacity: .8; }
@media (max-width: 640px) {
  .hero::before { right: 34px; width: 14px; height: 96px; }
  .hero::after  { right: 12px; width: 4px;  height: 96px; }
  .closing::before { right: 34px; width: 14px; }
  .closing::after  { right: 12px; width: 4px; }
}
@media (max-width: 640px) {
  /* Na telefonu bi diagonali sekali naslov, zato ostaneta samo na zaključku. */
  .hero::before, .hero::after, .closing::before, .closing::after { display: none; }
  .when > div:first-child { grid-column: 1 / -1; }
  .when > div:last-child { grid-column: auto; }
}
