/* Mobi Servis — glavna stilska datoteka
   Barve in razmiki povzeti po dizajnu Claude Design "Mobi Servis Kranj". */

:root {
  --bg: oklch(0.985 0.004 240);
  --bg-alt: oklch(0.96 0.006 240);
  --surface: oklch(1 0 0);
  --ink: oklch(0.22 0.02 240);
  --ink-soft: oklch(0.48 0.02 240);
  --border: oklch(0.89 0.008 240);
  --blue: oklch(0.5 0.14 255);
  --blue-dark: oklch(0.4 0.14 255);
  --blue-tint: oklch(0.94 0.02 255);
  --orange: oklch(0.64 0.16 55);
  --orange-dark: oklch(0.55 0.16 55);
  --orange-tint: oklch(0.95 0.03 55);
  --radius: 14px;
  --fh: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --fb: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
input, textarea, select, button { font-family: inherit; }
h1, h2, h3 { font-family: var(--fh); }
ul { margin: 0; }
table { border-collapse: collapse; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

@keyframes ms-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--blue-dark);
  color: oklch(0.98 0.005 255);
  font-size: 13px;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }

/* ---------- HEADER ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; background: var(--blue); color: #fff; font-family: var(--fh); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.brand-name { font-family: var(--fh); font-weight: 800; font-size: 18px; color: var(--ink); }
.brand-sub { font-size: 11px; color: var(--ink-soft); }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a.active { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; background: none; border: 1px solid var(--border); border-radius: 10px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 700; border-radius: 99px; min-width: 18px; height: 18px; display: none; align-items: center; justify-content: center; padding: 0 4px; }
.cart-badge.show { display: flex; }

.btn { border: none; border-radius: 10px; font-weight: 700; cursor: pointer; display: inline-block; text-align: center; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: var(--orange-dark); text-decoration: none; color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); text-decoration: none; color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { text-decoration: none; border-color: var(--blue); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-md { padding: 10px 18px; font-size: 14px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }

.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 16px; border-top: 1px solid var(--border); gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 0; color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- HERO ---------- */
.hero { background: linear-gradient(180deg, var(--blue-tint), var(--bg)); padding: 64px 24px 56px; }
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--orange-tint); color: var(--orange-dark); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.hero h1 { font-size: 44px; line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
.hero p.lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 26px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: 20px; overflow: hidden; height: 340px; border: 1px solid var(--border); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-media { height: 240px; }
}

/* ---------- STATS STRIP ---------- */
.stats-strip { padding: 26px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; text-align: center; }
.stat { flex: 1; min-width: 180px; }
.stat-num { font-family: var(--fh); font-weight: 800; font-size: 20px; color: var(--blue); }
.stat-label { font-size: 13px; color: var(--ink-soft); }

/* ---------- SECTIONS ---------- */
.section { padding: 64px 24px; max-width: var(--max); margin: 0 auto; }
.section-alt { padding: 56px 24px; background: var(--bg-alt); }
.section-alt-inner { max-width: var(--max); margin: 0 auto; }
.section-title { font-family: var(--fh); font-size: 30px; font-weight: 800; text-align: center; margin: 0 0 8px; }
.section-title-left { font-family: var(--fh); font-size: 26px; font-weight: 800; margin: 0; }
.section-sub { text-align: center; color: var(--ink-soft); margin: 0 0 36px; }

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-dark); font-weight: 800; font-family: var(--fh); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 14px; }
.card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.card-price-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.card-price-row span:last-child { color: var(--ink-soft); font-weight: 500; }
.card-link { font-weight: 700; font-size: 13.5px; }

.step { text-align: center; }
.step-num { width: 52px; height: 52px; border-radius: 99px; background: var(--blue); color: #fff; font-family: var(--fh); font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { font-size: 16px; margin: 0 0 6px; }
.step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.brand-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }

.testi-stars { color: var(--orange-dark); font-size: 15px; margin-bottom: 10px; }
.testi-text { font-size: 14px; color: var(--ink); margin: 0 0 14px; }
.testi-name { font-weight: 700; font-size: 13.5px; }

.blog-card { cursor: pointer; }
.blog-cat { font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.blog-card h3, .blog-card h2 { font-family: var(--fh); font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.blog-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.blog-thumb { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; height: 150px; margin: -24px -24px 16px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cta-band { padding: 56px 24px; background: var(--blue); }
.cta-band-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.cta-band h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.cta-band p { color: oklch(0.94 0.01 255); margin: 0 0 22px; }

/* ---------- INNER PAGE HEADERS ---------- */
.page-main { max-width: var(--max); margin: 0 auto; padding: 48px 24px 72px; }
.page-main.narrow { max-width: 1000px; }
.page-main.narrower { max-width: 900px; }
.page-main.narrowest { max-width: 800px; }
.page-main.form-width { max-width: 700px; }
.page-title { font-family: var(--fh); font-size: 34px; font-weight: 800; margin: 0 0 10px; }
.page-lead { color: var(--ink-soft); max-width: 640px; margin: 0 0 40px; }

/* ---------- SERVICES PAGE ---------- */
.service-row { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 24px; scroll-margin-top: 90px; }
.service-row .card-icon { width: 52px; height: 52px; border-radius: 13px; font-size: 15px; margin-bottom: 0; }
.service-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.service-head h2 { font-size: 20px; font-weight: 700; margin: 0; }
.service-price { font-weight: 800; color: var(--blue); }
.service-price span { color: var(--ink-soft); font-weight: 500; font-size: 13px; }
.service-desc { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; }
.service-includes-label { font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.service-includes { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14px; }
.service-includes li { margin-bottom: 4px; }
.service-more { margin-top: 40px; text-align: center; background: var(--bg-alt); border-radius: var(--radius); padding: 30px; }
.service-more h3 { font-family: var(--fh); margin: 0 0 10px; }
.service-more p { color: var(--ink-soft); margin: 0 0 18px; }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 1fr; }
}

/* ---------- CENIK / PRICE TABLES ---------- */
.price-h2 { font-family: var(--fh); font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.price-table-wrap { overflow-x: auto; margin-bottom: 36px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.price-table th { text-align: left; padding: 12px 16px; background: var(--bg-alt); }
.price-table td { padding: 10px 16px; border-top: 1px solid var(--border); }
.price-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 20px; font-size: 14px; margin-bottom: 20px; }
.price-list-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.price-list-row:last-child { border-bottom: none; }
.price-note { font-size: 13px; color: var(--ink-soft); }

/* ---------- SHOP ---------- */
.shop-filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-btn { border-radius: 99px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: var(--surface); color: var(--ink-soft); }
.filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.product-thumb { border: 1px solid var(--border); border-radius: 10px; height: 150px; margin-bottom: 14px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.product-card h3 { font-family: var(--fh); font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.product-card p { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 800; font-family: var(--fh); font-size: 16px; }
.add-cart-btn { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 13px; cursor: pointer; }
.add-cart-btn:hover { background: var(--blue-dark); }

/* ---------- CART / CHECKOUT ---------- */
.cart-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.cart-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-line:last-child { border-bottom: none; }
.cart-line-info { flex: 1; }
.cart-line-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cart-line-price { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-alt); cursor: pointer; }
.qty-val { font-size: 14px; min-width: 16px; text-align: center; }
.remove-btn { margin-left: auto; font-size: 12px; color: var(--ink-soft); background: none; border: none; cursor: pointer; text-decoration: underline; }
.cart-line-total { font-weight: 700; font-size: 14px; white-space: nowrap; }
.cart-subtotal-row { display: flex; justify-content: space-between; padding-top: 12px; font-weight: 800; font-size: 16px; border-top: 1px solid var(--border); margin-top: 4px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty h1 { font-family: var(--fh); font-size: 24px; margin: 0 0 10px; }
.cart-empty p { color: var(--ink-soft); margin: 0 0 22px; }

.form-box { display: flex; flex-direction: column; gap: 14px; }
.form-box input[type=text], .form-box input[type=email], .form-box input[type=tel], .form-box input:not([type]), .form-box textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; width: 100%; background: var(--surface); color: var(--ink);
}
.form-box textarea { resize: vertical; }
.form-row-2 { display: flex; gap: 12px; }
.form-row-2 > * { flex: 1; }
.checkbox-row { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: flex-start; }
.checkbox-row input { margin-top: 2px; }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

.success-box, .empty-box { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.success-icon { font-size: 44px; margin-bottom: 14px; }
.success-box h1, .success-box h3 { font-family: var(--fh); font-size: 24px; margin: 0 0 10px; }
.success-box p { color: var(--ink-soft); margin: 0 0 22px; }

/* ---------- ABOUT ---------- */
.about-media { border-radius: var(--radius); overflow: hidden; height: 280px; margin-bottom: 32px; border: 1px solid var(--border); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.value-card .t { font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.team-member { text-align: center; }
.team-avatar { width: 84px; height: 84px; border-radius: 99px; overflow: hidden; margin: 0 auto 10px; border: 2px solid var(--border); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; }
.team-role { font-size: 13px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.faq-q { font-weight: 700; margin-bottom: 8px; }
.faq-a { font-size: 14px; color: var(--ink-soft); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-media { border-radius: var(--radius); overflow: hidden; height: 220px; margin-bottom: 22px; border: 1px solid var(--border); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }
.contact-details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; font-size: 14.5px; }
.contact-details div { margin-bottom: 10px; }
.contact-details div:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- LEGAL ---------- */
.legal-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.legal-tab { border-radius: 99px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.legal-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.legal-title { font-family: var(--fh); font-size: 28px; font-weight: 800; margin: 0 0 20px; }
.legal-body p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: oklch(0.9 0.008 240); padding: 56px 24px 0; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--orange); color: var(--ink); font-family: var(--fh); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.footer-name { font-family: var(--fh); font-weight: 800; font-size: 17px; color: #fff; }
.footer-desc { font-size: 13.5px; color: oklch(0.75 0.01 240); max-width: 280px; margin: 0 0 14px; }
.social-row { display: flex; gap: 10px; }
.social-pill { border: 1px solid oklch(0.4 0.01 240); border-radius: 8px; padding: 6px 12px; font-size: 12px; color: inherit; }
.footer-col-title { font-weight: 700; color: #fff; margin-bottom: 14px; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-links a { color: oklch(0.75 0.01 240); }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: 0 auto; border-top: 1px solid oklch(0.35 0.01 240); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: oklch(0.65 0.01 240); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); color: oklch(0.92 0.008 240); padding: 18px 24px; z-index: 60; display: none; justify-content: center; gap: 20px; flex-wrap: wrap; align-items: center; box-shadow: 0 -6px 20px oklch(0.1 0 0 / 0.2); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 13.5px; max-width: 640px; }
.cookie-banner a { color: oklch(0.85 0.03 55); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-decline { background: none; border: 1px solid oklch(0.5 0.01 240); color: #fff; border-radius: 8px; padding: 9px 16px; font-size: 13px; cursor: pointer; }
.cookie-accept { background: var(--orange); border: none; color: var(--ink); border-radius: 8px; padding: 9px 18px; font-weight: 700; font-size: 13px; cursor: pointer; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 100px 24px; }
.notfound h1 { font-family: var(--fh); font-size: 72px; margin: 0; color: var(--blue); }
.notfound p { color: var(--ink-soft); font-size: 16px; margin: 10px 0 26px; }

/* ---------- utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
