/* ==========================================================================
   MINGO - ŽIGA GABERŠEK S.P. | POLAGAJMOPARKET.SI
   Sodobna spletna stran za polaganje parketa in SPC panelov
   ========================================================================== */

/* --- CSS Variables & Theme --- */
:root {
  --primary: #c48849;
  --primary-hover: #b07436;
  --primary-light: #f7ede2;
  --primary-gradient: linear-gradient(135deg, #c48849 0%, #e0a365 100%);
  --primary-glow: rgba(196, 136, 73, 0.25);

  --dark-bg: #0f1217;
  --dark-surface: #181d26;
  --dark-surface-2: #212835;
  --dark-border: rgba(255, 255, 255, 0.08);

  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-surface-2: #f1f5f9;
  --light-border: #e2e8f0;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --success: #10b981;
  --accent-gold: #f59e0b;
  --warning: #f97316;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 18, 23, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 18, 23, 0.12);
  --shadow-glow: 0 10px 30px rgba(196, 136, 73, 0.25);

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-white { color: #ffffff !important; }
.text-muted-light { color: var(--text-light-muted) !important; }

/* --- Containers & Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.75rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: var(--text-light-muted);
}

.section-alt {
  background-color: var(--light-surface-2);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1rem;
  margin-top: 0.65rem;
  line-height: 1.55;
}

/* --- Pill Components & Badges --- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(196, 136, 73, 0.2);
}

.badge-pill-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.badge-pill-gold {
  background: rgba(196, 136, 73, 0.15);
  color: #e5a663;
  border: 1px solid rgba(196, 136, 73, 0.35);
}

.badge-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--primary);
}

.badge-pill .dot.green {
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b8793b 0%, #d49553 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(196, 136, 73, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--light-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-call {
  background-color: #059669;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

.btn-call:hover {
  background-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.35);
}

.btn-call:hover svg {
  transform: scale(1.15) rotate(10deg);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* --- Header & Navigation --- */
.top-bar {
  background-color: var(--dark-bg);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--dark-border);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.top-item a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--light-border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
  overflow: hidden;
}

.brand-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.nav-link {
  padding: 0.45rem 0.75rem;
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-hover);
  background-color: var(--primary-light);
}

.nav-link-badge {
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  margin-left: 0.35rem;
  text-transform: uppercase;
  font-weight: 800;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.dropdown-item:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  transform: translateX(4px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 18, 23, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-border);
}

.mobile-close {
  background: var(--light-surface-2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  padding: 0.65rem 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary-hover);
}

.mobile-submenu {
  padding-left: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.mobile-submenu a {
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-submenu a:hover {
  color: var(--primary);
}

.mobile-contact-box {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 6.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: brightness(0.85) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(196, 136, 73, 0.15), transparent 45%),
              linear-gradient(to right, rgba(15, 18, 23, 0.95) 0%, rgba(15, 18, 23, 0.82) 60%, rgba(15, 18, 23, 0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 840px;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.18;
}

.hero-lead {
  font-size: 1.22rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 700px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-badges-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(196, 136, 73, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5a663;
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
}

.hero-stat-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.2;
}

.hero-stat-sub {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Subpage Hero */
.page-hero {
  position: relative;
  background-color: var(--dark-bg);
  padding: 4.5rem 0 4rem 0;
  color: #ffffff;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
  object-fit: cover;
  z-index: 1;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 18, 23, 0.85) 0%, rgba(15, 18, 23, 0.98) 100%);
  z-index: 2;
}

.page-hero .container {
  position: relative;
  z-index: 3;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs .current {
  color: var(--primary);
  font-weight: 600;
}

/* --- Services Grid & Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 136, 73, 0.35);
}

.service-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.885rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  line-height: 1.5;
  text-align: center;
}

.service-features {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--light-surface-2);
  border-radius: var(--radius-md);
  text-align: left;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-main);
}

.service-features svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.service-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: auto;
}

.service-footer .btn {
  flex: 1;
  padding: 0.6rem 0.85rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* --- Before / After Slider --- */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.before-after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid #ffffff;
}

.after-img-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 860px;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 4px;
  background: #ffffff;
  z-index: 10;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.slider-handle-button svg {
  width: 20px;
  height: 20px;
}

.slider-label {
  position: absolute;
  bottom: 1.25rem;
  z-index: 5;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 18, 23, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.label-before { right: 1.25rem; }
.label-after { left: 1.25rem; }

/* --- Why Choose Us (Features) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  padding: 1.85rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 136, 73, 0.3);
}

.feature-card-dark {
  background: var(--dark-surface);
  border-color: var(--dark-border);
}

.feature-icon-pill {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-hover);
  margin: 0 auto 1.15rem auto;
}

.feature-icon-pill svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --- 4 Steps Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.35rem;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.process-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.process-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.process-step-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.process-step-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-main);
  line-height: 1.3;
}

.process-card p {
  font-size: 0.865rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Quote form: explicit icon dimensions prevent browser-default 300 × 150 SVGs. */
.wizard-box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.5rem;
}

.wizard-option {
  min-width: 0;
  min-height: 100px;
  padding: 0.85rem 0.6rem;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  background: var(--light-bg);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  transition: var(--transition);
}

.wizard-option svg { width: 25px; height: 25px; color: var(--primary); }
.wizard-option:hover, .wizard-option.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-glow); }
.wizard-option.selected { color: var(--primary-hover); }

.section-dark .wizard-box { background: #ffffff; }
.section-dark .form-label { color: var(--text-main); }

/* --- Dedicated Service Page Layout --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.service-content-main h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.service-content-main h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.service-content-main p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.service-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.service-gallery-grid img {
  border-radius: var(--radius-md);
  height: 220px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.benefits-box {
  background: var(--light-surface-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--primary);
  margin: 2.5rem 0;
}

.benefits-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.benefits-box li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.benefits-box li svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sticky Inquiry Card on Subpages */
.subpage-sidebar {
  position: sticky;
  top: 90px;
}

.inquiry-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-lg);
}

.inquiry-card-header {
  margin-bottom: 1.75rem;
  text-align: center;
}

.inquiry-card-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.885rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-md);
  background-color: var(--light-bg);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quick-call-box {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-border);
  text-align: center;
}

.quick-call-box p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   INTERACTIVE PRICE CALCULATOR (KONFIGURATOR CEN)
   ========================================================================== */
.calculator-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.calc-inputs-side {
  padding: 2.5rem;
  background: #ffffff;
}

.calc-summary-side {
  padding: 2.5rem;
  background: linear-gradient(145deg, #181d26 0%, #0f1217 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--dark-border);
}

.calc-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.calc-step-num {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.calc-services-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.calc-service-btn {
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--light-bg);
  text-align: left;
}

.calc-service-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.calc-service-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.calc-service-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.range-slider-wrap {
  margin-bottom: 2rem;
}

.range-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.range-val-badge {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-hover);
  background: var(--primary-light);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
}

input[type="range"].calc-range {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--light-surface-2);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"].calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-gradient);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

input[type="range"].calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-addons-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.calc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
}

.calc-checkbox-label:hover {
  background: var(--light-surface-2);
  border-color: #cbd5e1;
}

.calc-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-price-display {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-border);
  margin-bottom: 1.5rem;
}

.calc-price-label {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-price-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #e5a663;
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.calc-price-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.calc-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  font-size: 0.885rem;
}

.calc-item-row {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.calc-item-row span:last-child {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   DIY STEP-BY-STEP GUIDE (VODIČ ZA POLAGANJE)
   ========================================================================== */
.guide-step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  transition: var(--transition);
}

.guide-step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 136, 73, 0.3);
}

.guide-step-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.guide-step-badge {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.guide-pro-tip {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.925rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.guide-pro-tip svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-warning-box {
  background: rgba(249, 115, 22, 0.08);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.925rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.guide-warning-box svg {
  width: 20px;
  height: 20px;
  color: var(--warning);
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-cta-banner {
  background: linear-gradient(135deg, #181d26 0%, #0f1217 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--dark-border);
  margin-top: 4rem;
}

.guide-cta-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.guide-cta-banner p {
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 2rem auto;
  font-size: 1.15rem;
}

/* --- FAQ Accordion --- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(196, 136, 73, 0.4);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Contact & Location Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-pill-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-pill-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-pill-icon svg {
  width: 24px;
  height: 24px;
}

.contact-pill-content h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-pill-content p,
.contact-pill-content a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-pill-content a:hover {
  color: var(--primary);
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-location {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--text-light-muted);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid var(--dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.925rem;
  color: var(--text-light-muted);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* --- Mobile Bottom Floating Quick Bar --- */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1500;
  background: rgba(15, 18, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: slideUpBar 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-quick-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.mobile-quick-btn {
  flex: 1;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.885rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

@keyframes slideUpBar {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Desktop Floating Call Button --- */
.floating-call-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  background-color: #059669;
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  animation: pulseGlow 2.5s infinite;
}

.floating-call-btn:hover {
  background-color: #047857;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.45);
}

.floating-call-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35); }
  50% { box-shadow: 0 8px 30px rgba(5, 150, 105, 0.6); }
}

/* --- Animations & Utilities --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  z-index: 3000;
  padding: 1rem 1.5rem;
  background: var(--dark-bg);
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .calc-summary-side {
    border-left: none;
    border-top: 1px solid var(--dark-border);
  }

  .subpage-sidebar {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1120px) {
  .top-bar {
    display: none;
  }

  .nav-menu,
  .nav-actions .btn-call,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding: 4.5rem 0 3.5rem 0;
  }

  .hero-badges-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .before-after-container {
    height: 340px;
  }

  .mobile-quick-bar {
    display: block;
  }

  .floating-call-btn {
    display: none;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 760px) {
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .services-grid, .features-grid, .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-img-wrap { height: 180px; }
  .service-body { padding: 1.25rem; }
  .process-card { padding: 1.5rem 1.25rem; }
  .wizard-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-option { min-height: 88px; font-size: 0.82rem; }
}

@media (max-width: 600px) {
  .container { padding-left: 1rem; padding-right: 1rem; }

  #povprasevanje .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .wizard-box {
    width: 100%;
    max-width: 100%;
    padding: 1.1rem 0.85rem;
    border-radius: var(--radius-md);
  }
  .wizard-box form, .wizard-box .form-group, .wizard-box .form-row { min-width: 0; }
  .wizard-options-grid { grid-template-columns: 1fr; gap: 0.55rem; }
  .wizard-option {
    min-height: 56px;
    padding: 0.65rem 0.8rem;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  .wizard-option svg { width: 21px; height: 21px; }
  .wizard-box .form-control { min-width: 0; padding: 0.8rem 0.9rem; }
  .wizard-box .btn-lg {
    min-height: 50px;
    padding: 0.85rem 1rem;
    white-space: normal;
    line-height: 1.25;
  }

  /* Before/after comparison: preserve the image and labels on narrow screens. */
  .before-after-container {
    height: clamp(320px, 100vw, 400px);
    border-radius: var(--radius-md);
  }
  .after-img-inner { width: 100vw; }
  .slider-label {
    top: 0.75rem;
    bottom: auto;
    padding: 0.3rem 0.65rem;
    font-size: 0.68rem;
    letter-spacing: 0.035em;
  }
  .label-before { right: 0.75rem; }
  .label-after { left: 0.75rem; }
  .slider-handle-button { width: 40px; height: 40px; }

  .navbar {
    min-height: 58px;
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .brand-logo { gap: 0.5rem; min-width: 0; }
  .brand-logo-icon { width: 32px; height: 32px; font-size: 1rem; }
  .brand-title { font-size: 0.94rem; }
  .brand-subtitle { font-size: 0.57rem; letter-spacing: 0.035em; }

  .nav-actions { margin-left: auto; gap: 0; }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    padding: 0.4rem;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-toggle svg { width: 22px; height: 22px; }

  /* Service CTAs remain readable instead of competing for one narrow row. */
  .service-footer {
    flex-direction: column;
    gap: 0.6rem;
  }
  .service-footer .btn {
    width: 100%;
    min-height: 42px;
    white-space: normal;
  }

  .mobile-quick-bar {
    left: 0.65rem;
    right: 0.65rem;
    padding: 0.5rem;
  }
  .mobile-quick-inner { gap: 0.4rem; }
  .mobile-quick-btn {
    min-width: 0;
    padding: 0.65rem 0.35rem;
    gap: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
  }
  .mobile-quick-btn svg { width: 16px; height: 16px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .calc-services-select {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .before-after-container {
    height: 280px;
  }
}

/* Final mobile safeguard: keep every section within the viewport. */
@media (max-width: 600px) {
  html, body { width: 100%; overflow-x: clip; }
  .section, .container, .wizard-box, .service-card, .feature-card, .process-card,
  .review-card, .calculator-box, .inquiry-card, .contact-pill-card { max-width: 100%; }
  .hero-lead { font-size: 1rem; }
  .badge-pill { max-width: 100%; white-space: normal; }
  .hero-stat-item, .contact-pill-card { min-width: 0; }
  .hero-stat-item > div:last-child, .contact-pill-content { min-width: 0; }
  .hero-stat-sub, .contact-pill-content p, .contact-pill-content a { overflow-wrap: anywhere; }

  /* Inquiry form: one readable control per row, including the service chooser. */
  #povprasevanje .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  #povprasevanje .wizard-box { padding: 1.1rem 0.85rem; }
  #povprasevanje .wizard-options-grid { grid-template-columns: minmax(0, 1fr); }
  #povprasevanje .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #povprasevanje .form-control { width: 100%; min-width: 0; }
  #povprasevanje .btn[type="submit"] { width: 100%; white-space: normal; }

  /* Comparison stays generous; previous rules above cannot shrink it again. */
  .before-after-container { height: clamp(320px, 100vw, 400px); }
  .after-img-inner { width: 100vw; }
  .slider-label { top: 0.75rem; bottom: auto; }

  /* Drawer header: the close control must always remain visible and tappable. */
  .mobile-menu { width: 100%; max-width: 100vw; overflow: hidden; }
  .mobile-menu-inner {
    width: min(88vw, 360px);
    max-width: 100%;
    padding: 1.15rem 1rem;
    overflow-x: hidden;
  }
  .mobile-header { gap: 0.6rem; min-width: 0; }
  .mobile-header .brand-logo { min-width: 0; flex: 1; }
  .mobile-header .brand-info { min-width: 0; overflow: hidden; }
  .mobile-header .brand-logo-icon { width: 30px !important; height: 30px !important; font-size: 0.9rem !important; }
  .mobile-header .brand-title { display: block; min-width: 0; font-size: 0.82rem !important; overflow: hidden; text-overflow: ellipsis; }
  .mobile-close { flex: 0 0 34px; width: 34px; height: 34px; }

  /* Shared subpage layout: long hero text, forms and cards remain inside 320–600 px screens. */
  .page-hero { padding: 3rem 0 2.75rem; }
  .page-hero .container, .service-detail-grid, .service-content-main, .subpage-sidebar { min-width: 0; }
  .page-hero h1 { overflow-wrap: anywhere; }
  .page-hero p { font-size: 1rem !important; overflow-wrap: anywhere; }
  .breadcrumbs { flex-wrap: wrap; row-gap: 0.2rem; }
  .breadcrumbs .current { overflow-wrap: anywhere; }
  .service-detail-grid { gap: 1.5rem; }
  .inquiry-card { padding: 1.15rem 0.9rem; border-radius: var(--radius-md); }
  .inquiry-card .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .inquiry-card .form-control { min-width: 0; padding: 0.8rem 0.9rem; }
  .inquiry-card .btn { width: 100%; white-space: normal; }
  .faq-question { padding: 1rem; gap: 0.7rem; }
  .faq-question span { min-width: 0; overflow-wrap: anywhere; }
  .contact-pill-card { padding: 1rem; border-radius: var(--radius-md); gap: 0.8rem; }
  .map-card { height: 280px; }
}

@media (max-width: 380px) {
  .brand-title { font-size: 0.84rem; }
  .brand-subtitle { font-size: 0.5rem; }
  .mobile-quick-btn { font-size: 0.72rem; }
}
