/* =============================================
   PELJEM.SI — Premium Custom Styles
   ============================================= */

/* ===== GLOBAL ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
/* Logo invert when over dark hero */
#navbar:not(.scrolled) .nav-logo {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
#navbar.scrolled .nav-logo {
  filter: none;
  transition: filter 0.3s ease;
}
/* Nav links */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
  color: rgba(255, 255, 255, 0.85);
}
.nav-link:hover { color: white; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4bb6f5;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }
#navbar.scrolled .nav-link {
  color: #374151;
}
#navbar.scrolled .nav-link:hover { color: #111827; }
/* Nav CTA */
.nav-cta {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: white !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: none !important;
}
#navbar.scrolled .nav-cta {
  background: #4bb6f5 !important;
  border-color: #4bb6f5 !important;
  color: white !important;
}
#navbar.scrolled .nav-cta:hover {
  background: #1976d2 !important;
  border-color: #1976d2 !important;
}
/* Nav "Izračunaj ceno" gumb — vedno poln poudarek */
.nav-est-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4bb6f5;
  color: #ffffff !important;
  border: 1.5px solid #4bb6f5;
  padding: 0.6rem 1.05rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(75, 182, 245, 0.3);
}
.nav-est-cta:hover {
  background: #1976d2;
  border-color: #1976d2;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(75, 182, 245, 0.4);
}

/* Mobile toggle */
.nav-toggle-icon { color: rgba(255,255,255,0.9); }
#navbar.scrolled .nav-toggle-icon { color: #374151; }

/* ===== HERO ===== */
.hero-section {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-parallax {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 40%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  transition: transform 0s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 15, 28, 0.82) 0%,
    rgba(10, 15, 28, 0.55) 55%,
    rgba(10, 15, 28, 0.22) 100%
  );
}
/* Subtle noise texture */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 80px;
}

/* Hero label pill */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(75, 182, 245, 0.12);
  border: 1px solid rgba(75, 182, 245, 0.3);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-label .dot {
  width: 6px;
  height: 6px;
  background: #4bb6f5;
  border-radius: 50%;
  display: inline-block;
}

/* Hero trust chips */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.trust-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
}
.trust-chip-check {
  width: 14px;
  height: 14px;
  color: #4bb6f5;
  flex-shrink: 0;
}

/* Stats bottom bar */
.stats-bar {
  background: rgba(10, 15, 28, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4bb6f5;
  margin-bottom: 10px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4bb6f5;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid #4bb6f5;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(75, 182, 245, 0.28);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-primary:hover {
  background: #1e88e5;
  border-color: #1e88e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(75, 182, 245, 0.42);
}
.btn-primary:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px rgba(75, 182, 245, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111827;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid #111827;
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark:hover {
  background: #1f2937;
  border-color: #1f2937;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #111827;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid #374151;
  transition: background 0.2s ease, color 0.2s ease, transform 0.18s ease;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-dark:hover {
  background: #111827;
  color: white;
  transform: translateY(-1px);
}

/* ===== SCROLL REVEAL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* ===== STATS BAR (standalone section) ===== */
.stat-item { transition: opacity 0.3s ease; }
.stat-number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  transition: transform 0.2s ease;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: white;
  border: 1.5px solid #f1f5f9;
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.service-icon {
  width: 46px;
  height: 46px;
  background: #e3f0fc;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s ease;
}
.service-card:hover .service-icon {
  background: #4bb6f5;
}
.service-card:hover .service-icon svg {
  color: white;
}
.service-icon svg {
  color: #4bb6f5;
  transition: color 0.2s ease;
}

/* ===== WHY US CARDS ===== */
.why-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1.5px solid #f1f5f9;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.why-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}
.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #e3f0fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PROCESS SECTION ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
.process-step {
  padding: 28px 24px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: #f1f5f9;
}
@media (max-width: 768px) {
  .process-step::after { display: none; }
  .process-step { border-right: none; }
}
.process-num {
  width: 40px;
  height: 40px;
  background: #111827;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* ===== GALLERY ===== */

/* Editorial grid: 3 cols, auto rows */
.gallery-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 420px 280px;
  gap: 10px;
  margin-bottom: 10px;
}
/* Feature: landscape van — spans first 2 columns, row 1 */
.gallery-feature {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
/* Tall portrait — column 3, spans both rows */
.gallery-tall {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}
/* Small portraits — row 2, columns 1 and 2 */
.gallery-small {
  grid-row: 2 / 3;
}
/* Full-width strip for 5th image */
.gallery-strip {
  height: 260px;
}
.gallery-strip .gallery-item {
  height: 100%;
}
/* Mobile: stack vertically */
@media (max-width: 767px) {
  .gallery-editorial-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 360px 240px;
  }
  .gallery-feature {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .gallery-tall {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .gallery-small:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }
  .gallery-small:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  .gallery-strip {
    height: 200px;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  background: #f1f5f9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,28,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  color: white;
  transform: translateY(6px);
  transition: transform 0.3s ease;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-tile {
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: white;
  border: 1.5px solid #e8edf3;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pricing-card:hover {
  border-color: #4bb6f5;
  box-shadow: 0 10px 36px rgba(75, 182, 245, 0.1);
  transform: translateY(-3px);
}
.pricing-example {
  background: #e3f0fc;
  border-left: 3px solid #4bb6f5;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #374151;
  margin-top: auto;
}

/* ===== BRAND SECTION ===== */
.brand-section {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.brand-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.brand-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 55%;
  position: absolute;
  top: -10%;
}
.brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 15, 28, 0.92) 0%,
    rgba(10, 15, 28, 0.70) 55%,
    rgba(10, 15, 28, 0.35) 100%
  );
}
.brand-content {
  position: relative;
  z-index: 10;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  border: 1.5px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  border-color: #e2e8f0;
}
.google-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 8px;
}

/* ===== CONTACT FORM ===== */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font-size: 0.875rem;
  font-family: inherit;
  background: white;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: #4bb6f5;
  box-shadow: 0 0 0 3px rgba(75, 182, 245, 0.12);
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
}

/* ===== FOOTER ===== */
.footer-cta-banner {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #2196f3 100%);
  border-radius: 18px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.footer-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== CONTACT CARDS ===== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: white;
  border: 1.5px solid #f1f5f9;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.contact-card:hover {
  border-color: #4bb6f5;
  box-shadow: 0 4px 16px rgba(75, 182, 245, 0.1);
  transform: translateX(3px);
}
.contact-card-wa:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

/* ===== MOBILE STICKY ===== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 10px 16px;
  display: flex;
  gap: 8px;
}
@media (min-width: 768px) {
  .mobile-cta-bar { display: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section { min-height: 100svh; }
  .hero-parallax { height: 100%; transform: none !important; }
  .hero-label { font-size: 0.65rem; }
  .brand-section { min-height: 360px; }
  .process-step:not(:last-child)::after { display: none; }
  .footer-cta-banner { padding: 28px 24px; }

  /* Stats bar: single row of 4 on mobile to reduce height */
  .stats-bar { padding-top: 10px; padding-bottom: 10px; }
  .stats-bar .grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .stats-bar .text-2xl { font-size: 1rem; }
  .stats-bar .text-xs { font-size: 0.6rem; }

  /* Card padding reduction */
  .service-card { padding: 22px; }
  .pricing-card { padding: 22px; }

  /* Fix process step separators on mobile - steps with style="border-bottom:none" need borders back */
  .process-step { border-bottom: 1px solid #f1f5f9 !important; }
  .process-step:last-child { border-bottom: none !important; }

  /* Footer CTA buttons full width on mobile */
  .footer-cta-banner .flex-col a,
  .footer-cta-banner .sm\:flex-row a {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0 20%, #e2e8f0 80%, transparent);
  border: none;
  margin: 0;
}

/* =============================================
   OKVIRNA OCENA SELITVE  — scoped under #ocena
   ============================================= */
#ocena {
  --oc-blue: #4bb6f5;
  --oc-blue-dark: #1976d2;
  --oc-blue-light: #e8f4fd;
  --oc-blue-line: rgba(75, 182, 245, 0.28);
  --oc-ink: #0f172a;
  --oc-ink-dim: #64748b;
  --oc-border: #e4e9f1;
  --oc-bg-soft: #f5f8fc;
  --oc-coral: #e2513f;
  --oc-radius: 16px;
}
#ocena.oc-shell { max-width: 880px; margin-left: auto; margin-right: auto; scroll-margin-top: 90px; }
#ocena .oc-wrap { max-width: 100%; margin: 0; padding: 6px 30px 28px; }

/* ----- spustni izračun (accordion) — poudarjen zaprt state ----- */
#ocena .oc-accordion {
  border: 2px solid #a9d8f6;
  border-radius: 20px;
  background: linear-gradient(180deg, #ecf7fe 0%, #ffffff 62%);
  box-shadow: 0 16px 48px -18px rgba(75, 182, 245, 0.45);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s, background .2s;
}
#ocena .oc-accordion[open] {
  border-color: var(--oc-border);
  background: #fff;
  box-shadow: 0 22px 56px -24px rgba(15, 23, 42, 0.22);
}
#ocena .oc-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
}
#ocena .oc-summary::-webkit-details-marker { display: none; }
#ocena .oc-accordion[open] .oc-summary { border-bottom: 1px solid var(--oc-border); }

#ocena .oc-summary-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--oc-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px -8px rgba(75, 182, 245, 0.75);
}
#ocena .oc-summary-text { flex: 1; min-width: 0; }
#ocena .oc-summary-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oc-blue-dark);
  margin-bottom: 5px;
}
#ocena .oc-summary-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--oc-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
#ocena .oc-summary-desc {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--oc-ink-dim);
  line-height: 1.5;
}
#ocena .oc-summary-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--oc-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 12px 24px -10px rgba(75, 182, 245, 0.75);
  transition: background .15s, box-shadow .15s;
}
#ocena .oc-summary:hover .oc-summary-btn { background: var(--oc-blue-dark); }
#ocena .oc-accordion[open] .oc-summary-btn {
  background: #eef2f7;
  color: var(--oc-ink-dim);
  box-shadow: none;
}
#ocena .oc-summary-chevron { transition: transform .25s ease; }
#ocena .oc-accordion[open] .oc-summary-chevron { transform: rotate(180deg); }

#ocena .oc-panel { background: transparent; border: none; border-radius: 0; padding: 0; }

/* ruler in rezultat naj ostaneta ožja tudi v širokem panelu */
#ocena .oc-ruler { max-width: 460px; margin-left: auto; margin-right: auto; }
#ocena .oc-loading,
#ocena .oc-slip { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ----- 2/3-stolpčna postavitev obrazca (desktop) ----- */
#ocena .oc-grid2,
#ocena .oc-grid3 { display: grid; grid-template-columns: 1fr; gap: 0 26px; }
#ocena .oc-grid3 { gap: 10px; }
#ocena .oc-colblock { display: flex; flex-direction: column; }
#ocena .oc-grid3 .oc-toggle-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
}
@media (min-width: 760px) {
  #ocena .oc-grid2 { grid-template-columns: 1fr 1fr; }
  #ocena .oc-grid3 { grid-template-columns: repeat(3, 1fr); }
  #ocena .oc-grid2-top .oc-field-fill { display: flex; flex-direction: column; flex: 1; }
  #ocena .oc-grid2-top .oc-field-fill textarea { flex: 1; min-height: 118px; }
}
@media (max-width: 759px) {
  #ocena .oc-grid2-top .oc-colblock + .oc-colblock { margin-top: 4px; }
}
#ocena .oc-grid2 .oc-add-room-btn { margin-top: 0; }

/* ----- korak "kontakt" ----- */
#ocena .oc-contact-lead { font-size: 0.9rem; color: var(--oc-ink-dim); line-height: 1.55; margin: 0 0 16px; }
#ocena .oc-contact-call { text-align: center; font-size: 0.9rem; color: var(--oc-ink-dim); margin: 14px 0 0; }
#ocena .oc-contact-call a { color: var(--oc-blue-dark); font-weight: 700; white-space: nowrap; }
#ocena .oc-field input.oc-invalid { border-color: #ef4444; }
#ocena .oc-error.oc-ok { background: #e7f7ef; border-color: #b6e6cf; color: #1a7a4f; }

@media (max-width: 640px) {
  #ocena .oc-summary { flex-wrap: wrap; gap: 14px; padding: 20px; }
  #ocena .oc-summary-icon { width: 44px; height: 44px; }
  #ocena .oc-summary-title { font-size: 1.2rem; }
  #ocena .oc-summary-btn { width: 100%; justify-content: center; order: 4; }
  #ocena .oc-wrap { padding: 4px 16px 20px; }
}

/* step indicator */
#ocena .oc-ruler { display: flex; margin-bottom: 26px; }
#ocena .oc-tick-group { flex: 1; text-align: center; position: relative; }
#ocena .oc-tick-group:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px;
  background: var(--oc-border); z-index: 0;
}
#ocena .oc-tick-group.done:not(:last-child)::after { background: var(--oc-blue); }
#ocena .oc-tick-num {
  position: relative; z-index: 1;
  width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%;
  background: #fff; border: 2px solid var(--oc-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--oc-ink-dim);
}
#ocena .oc-tick-group.active .oc-tick-num,
#ocena .oc-tick-group.done .oc-tick-num { background: var(--oc-blue); border-color: var(--oc-blue); color: #fff; }
#ocena .oc-tick-label { font-size: 10.5px; font-weight: 600; color: var(--oc-ink-dim); text-transform: uppercase; letter-spacing: .04em; }
#ocena .oc-tick-group.active .oc-tick-label,
#ocena .oc-tick-group.done .oc-tick-label { color: var(--oc-blue-dark); }

#ocena .oc-sec-title {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  color: var(--oc-blue-dark); margin: 24px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
#ocena .oc-sec-title:first-child { margin-top: 0; }
#ocena .oc-sec-title::after { content: ""; flex: 1; height: 1px; background: var(--oc-border); }

/* dropzone */
#ocena .oc-drop {
  border: 2px dashed var(--oc-blue-line); background: var(--oc-blue-light);
  border-radius: 14px; padding: 28px 16px; text-align: center; cursor: pointer; transition: .2s;
}
#ocena .oc-drop:hover, #ocena .oc-drop.oc-drag { border-color: var(--oc-blue); background: #ddeefb; }
#ocena .oc-drop-icon { font-size: 26px; margin-bottom: 8px; }
#ocena .oc-drop-text { font-size: 14px; color: var(--oc-ink); }
#ocena .oc-drop-text b { color: var(--oc-blue-dark); }
#ocena .oc-drop-hint { font-size: 12px; color: var(--oc-ink-dim); margin-top: 4px; }
#ocena input[type=file] { display: none; }

#ocena .oc-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
#ocena .oc-thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 1px solid var(--oc-border); }
#ocena .oc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
#ocena .oc-thumb button {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; color: var(--oc-coral); border: 1px solid var(--oc-border); font-size: 11px; line-height: 1; cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

/* fields */
#ocena .oc-field { margin-bottom: 12px; }
#ocena .oc-field label { display: block; font-size: 12.5px; color: var(--oc-ink-dim); margin-bottom: 6px; font-weight: 500; }
#ocena .oc-field input:not([type=checkbox]):not([type=radio]),
#ocena .oc-field textarea,
#ocena .oc-field select,
#ocena .oc-floor-row select {
  width: 100%; background: #fff; border: 1px solid var(--oc-border);
  color: var(--oc-ink); font-family: inherit; font-size: 14px;
  padding: 11px 13px; border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#ocena .oc-field textarea { resize: vertical; min-height: 76px; }
#ocena .oc-field input:not([type=checkbox]):not([type=radio]):focus,
#ocena .oc-field textarea:focus,
#ocena .oc-field select:focus,
#ocena .oc-floor-row select:focus { border-color: var(--oc-blue); box-shadow: 0 0 0 3px var(--oc-blue-light); }

#ocena .oc-floor-block { background: var(--oc-bg-soft); border: 1px solid var(--oc-border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
#ocena .oc-floor-title { font-size: 12.5px; color: var(--oc-ink); font-weight: 700; margin-bottom: 10px; }
#ocena .oc-floor-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }

#ocena .oc-field input.oc-computed { opacity: .7; cursor: not-allowed; background: var(--oc-bg-soft); }
#ocena .oc-field-hint { font-size: 11.5px; color: var(--oc-ink-dim); margin-top: 5px; line-height: 1.4; }

#ocena .oc-rooms-list { margin-top: 10px; }
#ocena .oc-room-row { display: grid; grid-template-columns: 1fr 52px 14px 52px 46px 22px; gap: 6px; align-items: center; margin-bottom: 6px; }
#ocena .oc-room-row input {
  width: 100%; background: #fff; border: 1px solid var(--oc-border);
  color: var(--oc-ink); font-family: inherit; font-size: 13px; padding: 8px; border-radius: 8px; outline: none;
}
#ocena .oc-room-row input:focus { border-color: var(--oc-blue); }
#ocena .oc-room-row input.oc-room-len, #ocena .oc-room-row input.oc-room-wid { text-align: center; padding: 8px 4px; }
#ocena .oc-room-x { text-align: center; color: var(--oc-ink-dim); font-size: 12px; }
#ocena .oc-room-eq { font-weight: 600; font-size: 11.5px; color: var(--oc-ink-dim); white-space: nowrap; }
#ocena .oc-room-remove { width: 22px; height: 22px; border-radius: 50%; border: none; cursor: pointer; background: #fdecea; color: var(--oc-coral); font-size: 11px; line-height: 1; }
#ocena .oc-add-room-btn {
  background: transparent; border: 1px dashed var(--oc-blue-line); color: var(--oc-blue-dark);
  font-weight: 600; font-size: 12.5px; padding: 10px; width: 100%; border-radius: 10px; cursor: pointer; margin-top: 4px;
}
#ocena .oc-add-room-btn:hover { background: var(--oc-blue-light); border-color: var(--oc-blue); }

#ocena .oc-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--oc-bg-soft); border: 1px solid var(--oc-border); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px;
}
#ocena .oc-t-label { font-size: 13.5px; color: var(--oc-ink); font-weight: 500; }
#ocena .oc-t-hint { font-size: 11.5px; color: var(--oc-ink-dim); display: block; margin-top: 1px; }
#ocena .oc-switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
#ocena .oc-switch input { opacity: 0; width: 0; height: 0; }
#ocena .oc-slider { position: absolute; cursor: pointer; inset: 0; background: #cbd5e1; border-radius: 24px; transition: .2s; }
#ocena .oc-slider::before {
  content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}
#ocena .oc-switch input:checked + .oc-slider { background: var(--oc-blue); }
#ocena .oc-switch input:checked + .oc-slider::before { transform: translateX(18px); }

#ocena button.oc-cta {
  width: 100%; margin-top: 18px; background: var(--oc-blue); color: #fff; border: none;
  font-family: inherit; font-weight: 700; font-size: 14.5px; padding: 15px; border-radius: 999px;
  cursor: pointer; transition: .15s; box-shadow: 0 10px 22px -10px rgba(75, 182, 245, 0.6);
}
#ocena button.oc-cta:disabled { background: #cbd5e1; color: #94a3b8; box-shadow: none; cursor: not-allowed; }
#ocena button.oc-cta:not(:disabled):hover { background: var(--oc-blue-dark); }
#ocena button.oc-ghost {
  width: 100%; background: transparent; border: 1px solid var(--oc-border); color: var(--oc-ink-dim);
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 11px; border-radius: 999px; cursor: pointer; margin-top: 10px;
}
#ocena button.oc-ghost:hover { color: var(--oc-ink); border-color: #c7cfdc; }

#ocena .oc-loading { display: none; text-align: center; padding: 20px 0; }
#ocena .oc-loading.oc-show { display: block; }
#ocena .oc-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--oc-blue-light); border-top-color: var(--oc-blue);
  margin: 0 auto 12px; animation: oc-spin 0.8s linear infinite;
}
@keyframes oc-spin { to { transform: rotate(360deg); } }
#ocena .oc-loading-text { font-weight: 600; font-size: 13px; color: var(--oc-blue-dark); }

#ocena .oc-error {
  background: #fdecea; border: 1px solid #f6c7c0; color: #b23a2a;
  padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-top: 14px;
}

#ocena .oc-slip { display: none; }
#ocena .oc-slip.oc-show { display: block; }
#ocena .oc-slip-top { text-align: left; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--oc-border); }
#ocena .oc-slip-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-blue-dark); font-weight: 700; }
#ocena .oc-slip-heading { font-size: 17px; font-weight: 800; color: var(--oc-ink); margin-top: 4px; }

#ocena .oc-items { list-style: none; padding: 0; margin: 0 0 14px; }
#ocena .oc-items li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--oc-border); font-size: 13.5px;
}
#ocena .oc-items li span.oc-name { color: var(--oc-ink); }
#ocena .oc-items li span.oc-meta { color: var(--oc-ink-dim); font-weight: 600; font-size: 12px; white-space: nowrap; }

#ocena .oc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
#ocena .oc-stat { background: var(--oc-blue-light); border: 1px solid var(--oc-blue-line); border-radius: 14px; padding: 13px; text-align: center; }
#ocena .oc-stat .oc-num { font-size: 20px; font-weight: 800; color: var(--oc-blue-dark); }
#ocena .oc-stat .oc-lbl { font-size: 11px; color: var(--oc-ink-dim); text-transform: uppercase; letter-spacing: .04em; margin-top: 3px; font-weight: 600; }

#ocena .oc-breakdown { background: var(--oc-bg-soft); border: 1px solid var(--oc-border); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
#ocena .oc-b-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--oc-ink-dim); gap: 12px; }
#ocena .oc-b-row b { color: var(--oc-ink); font-weight: 600; white-space: nowrap; }
#ocena .oc-b-row.oc-total { border-top: 1px solid var(--oc-border); margin-top: 6px; padding-top: 9px; color: var(--oc-ink); font-weight: 700; }

#ocena .oc-price { background: linear-gradient(135deg, var(--oc-blue-light), #ffffff); border: 1px solid var(--oc-blue-line); border-radius: 16px; padding: 18px; text-align: center; margin-bottom: 14px; }
#ocena .oc-price .oc-amount { font-size: 29px; font-weight: 800; color: var(--oc-blue-dark); }
#ocena .oc-price .oc-lbl { font-size: 12px; color: var(--oc-ink-dim); margin-top: 3px; font-weight: 600; }

#ocena .oc-disclaimer { font-size: 12px; color: var(--oc-ink-dim); line-height: 1.5; margin-bottom: 14px; }
#ocena .oc-disclaimer b { color: var(--oc-ink); }
#ocena .oc-foot { text-align: center; margin-top: 16px; color: var(--oc-ink-dim); font-size: 11px; line-height: 1.6; }

/* ===== HORIZONTAL SCROLL TESTIMONIALS (mobile) ===== */
@media (max-width: 768px) {
  .testimonials-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 16px;
    padding-bottom: 12px;
  }
  .testimonials-scroll .testimonial-card {
    min-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .testimonials-grid {
    display: none;
  }
}
@media (min-width: 768px) {
  .testimonials-scroll { display: none; }
}
