/* Truck Mix Max — demo stranica (prezentacija proizvoda). Osnova je app.css. */

.site { background: var(--page); }
.site-top { position: sticky; top: 0; z-index: 30; background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.site-top-in { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.site-top .brand { margin-right: 0; }
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a { color: var(--brand-ink); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-cta { display: flex; gap: 8px; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn-lg { padding: 13px 20px; font-size: 16px; border-radius: 12px; }

.site-hero {
  background: var(--brand); color: #fff; padding: 56px 0 64px;
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(242, 169, 0, .18), transparent 60%);
}
.site-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.site-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -1px; margin: 6px 0 14px; }
.hero-lead { font-size: 18px; color: #dfe4ee; max-width: 52ch; margin: 0; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--brand-ink); font-size: 14px; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }
.hero-shot { margin: 0; }
.hero-shot img, .sec-shot img, .slide img {
  width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12);
}

.site-sec { padding: 64px 0; }
.site-sec.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.site-sec h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 8px; letter-spacing: -.5px; }
.sec-lead { color: var(--ink-2); font-size: 17px; max-width: 70ch; margin: 0 0 28px; }
.center { text-align: center; }
.narrow { max-width: 640px; }
.narrow p { color: var(--ink-2); font-size: 17px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.two-col p { color: var(--ink-2); font-size: 16.5px; }
.sec-shot { margin: 0; }
.sec-shot img { box-shadow: 0 12px 40px rgba(0, 0, 0, .16); border-color: var(--border); }
.checks-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.checks-list li { padding-left: 26px; position: relative; }
.checks-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }

/* slajdšou */
.slides-view { overflow: hidden; border-radius: 18px; }
.slides-track { display: flex; transition: transform .45s ease; touch-action: pan-y; }
.slide {
  flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 8px; outline: none;
}
.slide img { box-shadow: 0 12px 40px rgba(0, 0, 0, .18); border-color: var(--border); user-select: none; -webkit-user-drag: none; }
.slide img.phone { width: auto; max-width: 100%; max-height: 430px; justify-self: center; border-radius: 24px; }
.slide-txt h3 { font-size: 26px; margin: 0 0 8px; }
.slide-txt p { color: var(--ink-2); font-size: 17px; margin: 0 0 12px; }
.slide-txt ul { padding-left: 20px; margin: 0 0 16px; display: grid; gap: 6px; }
.slide-txt a { font-weight: 700; color: var(--ink); }
.slides-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.slides-ctrl .icon { width: 40px; height: 40px; font-size: 22px; padding: 0; }
.slides-dots { display: flex; gap: 8px; }
.slides-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line-2, #c3c2b7); padding: 0; cursor: pointer; }
.slides-dots button[aria-selected="true"] { background: var(--brand); width: 26px; border-radius: 6px; }
.soon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.soon-grid div { background: var(--surface); border: 1px dashed var(--border); border-radius: 14px; padding: 18px; display: grid; gap: 6px; }
.soon-grid span { color: var(--ink-2); font-size: 14px; }

/* pregled Excela */
.excel-preview { margin-bottom: 20px; }
.xl { border: 1px solid #c3c2b7; border-radius: 10px; overflow: hidden; background: #fff; color: #000; font: 13px/1.3 Calibri, Carlito, "Segoe UI", Arial, sans-serif; box-shadow: 0 12px 40px rgba(0, 0, 0, .12); }
.xl-bar { display: flex; align-items: center; gap: 0; border-bottom: 1px solid #d4d4d4; background: #f8f8f8; }
.xl-ref { width: 90px; padding: 6px 10px; border-right: 1px solid #d4d4d4; font-weight: 600; }
.xl-fx { padding: 6px 10px; color: #777; font-style: italic; border-right: 1px solid #d4d4d4; }
.xl-formula { padding: 6px 10px; font-family: Consolas, "Courier New", monospace; color: #0b5394; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-scroll { overflow: auto; max-height: 520px; }
.xl-grid { border-collapse: collapse; table-layout: fixed; }
.xl-grid thead th { position: sticky; top: 0; z-index: 2; background: #efefef; color: #555; font-weight: 400; border: 1px solid #d9d9d9; padding: 3px 4px; text-align: center; }
.xl-grid tbody th { position: sticky; left: 0; z-index: 1; background: #efefef; color: #555; font-weight: 400; border: 1px solid #d9d9d9; text-align: center; padding: 0 4px; }
.xl-grid .xl-corner { left: 0; z-index: 3; }
.xl-grid td { border: 1px solid #e6e6e6; padding: 3px 5px; white-space: nowrap; overflow: hidden; text-overflow: clip; height: 21px; cursor: cell; vertical-align: middle; }
.xl-grid td.sel { outline: 2px solid #1e7145; outline-offset: -2px; }
.xl-tabs { display: flex; gap: 2px; background: #f0f0f0; border-top: 1px solid #d4d4d4; padding: 0 8px; overflow-x: auto; }
.xl-tabs button { border: 0; background: none; padding: 7px 14px; font: inherit; color: #333; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.xl-tabs button[aria-selected="true"] { background: #fff; color: #1e7145; font-weight: 700; border-bottom-color: #1e7145; }

/* pitanja */
.faq { max-width: 820px; }
.faq details { background: var(--page); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; }
.faq details p { margin: 10px 0 2px; color: var(--ink-2); }

@media (max-width: 960px) {
  .site-hero-in, .two-col, .slide { grid-template-columns: minmax(0, 1fr); }
  .site-nav { display: none; }
  .site-cta { margin-left: auto; }
  .slide img.phone { max-height: 380px; }
}
@media (max-width: 600px) {
  .site-hero { padding: 36px 0 44px; }
  .site-cta .btn-ghost-light { display: none; }
  .site-sec { padding: 44px 0; }
  .soon-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .slides-track { transition: none; } }
