/* ============================================================
   BORISOV STUDIOS — style.css
   Bootstrap 5.3 | Clean rebuild
============================================================ */

/* ============================================================
   VARIABLES
============================================================ */
:root {
  --primary:        #1A56DB;
  --primary-dark:   #1440b0;
  --cyan:           #29ABE2;
  --navy:           #0D1B2E;
  --navy-mid:       #1E2D42;
  --gray-text:      #6B7A8F;
  --gray-light:     #F4F7FC;
  --border:         #E2E8F0;
  --radius-btn:     50px;
  --radius-card:    14px;
  --font:           'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--navy); }
p { color: var(--gray-text); line-height: 1.75; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ============================================================
   TOPBAR
============================================================ */
#topBar {
  background: var(--navy);
  padding: 7px 0;
  font-size: 12px;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  gap: 20px;
}

.topbar-left a,
.topbar-right a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.topbar-left a:hover,
.topbar-right a:hover {
  color: #fff;
}

.topbar-left a i { font-size: 11px; margin-right: 5px; }
.topbar-right a i { font-size: 13px; }

.topbar-right {
  display: flex;
  gap: 14px;
}

@media (max-width: 575px) {
  #topBar { display: none; }
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

#mainNav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

#mainNav .container {
  min-height: 68px;
  display: flex;
  align-items: center;
}

/* Logo */
.navbar-brand {
  padding: 0;
  margin-right: 0;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 8px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.2px;
}

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

/* Nav links */
.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy) !important;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: var(--primary) !important;
  background: rgba(26, 86, 219, 0.06);
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 5px;
  vertical-align: middle;
  border-top-color: var(--gray-text);
}

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
  padding: 8px;
  min-width: 200px;
  margin-top: 4px;
}

.dropdown-item {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
  background: rgba(26, 86, 219, 0.07);
  color: var(--primary);
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
}

.lang-switcher .lang {
  color: var(--gray-text);
  transition: color 0.2s;
}

.lang-switcher .lang:hover,
.lang-switcher .lang.active {
  color: var(--primary);
}

.lang-switcher span {
  color: var(--border);
}

/* CTA button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-cta i {
  font-size: 14px;
}

/* Mobile toggler */
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230D1B2E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ============================================================
   MEGA MENU
============================================================ */

.mega-parent,
#mainNav .container,
#mainNav .navbar-collapse,
#mainNav .navbar-nav { position: static !important; }

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(13,27,46,0.10);
  z-index: 1050;
  padding: 38px 0 32px 0;
}

/* show/hide се управлява от JS в footer.php */

.mega-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 240px;
  gap: 0 40px;
}

/* Column heading */
.mega-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}

/* Links */
.mega-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, gap 0.15s;
  white-space: nowrap;
}

.mega-col a i {
  font-size: 12px;
  color: var(--primary);
  opacity: 0.5;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.mega-col a:hover {
  color: var(--primary);
  gap: 12px;
}

.mega-col a:hover i {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* CTA column */
.mega-col-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mega-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  border-radius: 16px;
  padding: 24px 22px;
  flex: 1;
}

.mega-cta-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,86,219,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.mega-cta-box h6 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.mega-cta-box p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 18px;
}

.mega-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  background: var(--primary);
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.2s;
  border-bottom: none !important;
  box-sizing: border-box;
}

.mega-cta-btn:hover {
  background: var(--primary-dark);
  color: #fff !important;
  gap: 10px !important;
}

.mega-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  border-bottom: none !important;
  padding: 0 !important;
  transition: gap 0.2s !important;
}

.mega-all-link:hover { gap: 10px !important; }

/* ============================================================
   HERO
============================================================ */
.hero {
  background: linear-gradient(
    135deg, #f0f5ff 0%, #f8faff 60%, #eef4fd 100%);
  padding: 50px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Left column */
.hero-left {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-title {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-accent .bi {
  font-size: 0.85em;
  font-weight: 900;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-text);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-sub strong {
  color: var(--navy);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.32);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.4);
}

.btn-hero-ghost {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.btn-hero-ghost:hover {
  color: var(--primary);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hs-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
}

.hs-plus {
  color: var(--primary);
  font-size: 24px;
}

.hs-lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-text);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Right column visual */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* Main dashboard card */
.hv-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(13, 27, 46, 0.10);
  padding: 24px;
}

.hv-main {
  width: 100%;
}

.hv-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.hv-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hv-dot.blue  { background: var(--primary); }
.hv-dot.green { background: #22c55e; }
.hv-dot.gray  { background: var(--border); }

.hv-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-left: 8px;
}

/* Bar chart */
.hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  margin-bottom: 8px;
}

.hv-bar {
  flex: 1;
  background: var(--border);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
}

.hv-bar.active {
  background: var(--primary);
}

.hv-chart-labels {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}

.hv-chart-labels span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--gray-text);
  /* show only last 4 */
}

.hv-chart-labels span:not(:nth-last-child(-n+4)) {
  visibility: hidden;
}

/* Stats row */
.hv-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.hv-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hv-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.hv-stat-lbl {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
}

/* Floating mini cards */
.hv-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(13, 27, 46, 0.12);
  min-width: 150px;
  animation: float 4s ease-in-out infinite;
}

.hv-float-tl {
  top: -28px;
  right: 10px;
  animation-delay: 0s;
}

.hv-float-br {
  bottom: -24px;
  left: 10px;
  animation-delay: 1.5s;
}

.hv-float-icon {
  font-size: 22px;
  color: var(--primary);
}

.hv-float-icon.cyan {
  color: var(--cyan);
}

.hv-float-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.hv-float-lbl {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 991px) {
  .hero { padding: 60px 0; }
  .hero-left { padding-right: 0; margin-bottom: 48px; }
  .hero-title { font-size: clamp(38px, 8vw, 56px); }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .hv-float { display: none; }
}

/* ============================================================
   CLIENTS PAGE (portfolio.php)
============================================================ */

/* ── LOGO GRID ── */
.cl-grid-section {
  padding: 60px 0 80px;
  background: #fff;
}

.cl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 40px;
}

.cl-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

/* Logo image */
.cl-grid-item img {
  width: 250px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  border-radius: 5px;
  transition: all 0.4s;
}

.cl-grid-item:hover img {
  filter: grayscale(0%);
}

/* Text fallback */
.cl-grid-text {
  width: 250px;
  max-width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #bcc3cd;
  border-radius: 5px;
  padding: 28px 16px;
  transition: all 0.4s;
}

.cl-grid-item:hover .cl-grid-text {
  color: var(--cl-color, var(--primary));
}

/* Мобилно — винаги 2 по 2 */
@media (max-width: 991px) {
  .cl-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    justify-items: center;
  }

  .cl-grid-item {
    width: 100%;
  }

  .cl-grid-item img {
    width: 100% !important;
    max-width: 140px;
  }

  .cl-grid-text {
    width: 100% !important;
    max-width: 140px;
    font-size: 13px;
    padding: 16px 10px;
  }
}

/* ── PAGE HERO ── */
.cl-hero {
  background: var(--navy);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 15% 50%, rgba(26,86,219,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 40%, rgba(41,171,226,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.cl-hero > * { position: relative; }

.cl-hero-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(41,171,226,0.12);
  border: 1px solid rgba(41,171,226,0.25);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.cl-hero-title {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.cl-hero-title span {
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cl-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── SECTION ── */
.cl-section {
  padding: 72px 0 90px;
  background: var(--gray-light);
}

/* ── FILTER TABS ── */
.cl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}

.cl-filter-btn {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  background: #fff;
  border: 1.5px solid var(--border);
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cl-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cl-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.cl-filter-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.25);
  color: inherit;
  padding: 1px 7px;
  border-radius: 20px;
  line-height: 1.6;
}

.cl-filter-btn:not(.active) .cl-filter-count {
  background: var(--gray-light);
  color: var(--gray-text);
}

/* ── GRID ── */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cl-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13,27,46,0.07), 0 1px 4px rgba(13,27,46,0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(.22,1,.36,1),
              box-shadow 0.25s cubic-bezier(.22,1,.36,1),
              opacity 0.3s ease;
}

.cl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,27,46,0.13), 0 4px 12px rgba(13,27,46,0.06);
}

.cl-card.cl-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

/* ── CARD IMAGE ── */
.cl-img {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.cl-img img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: transform 0.35s ease;
}

.cl-card:hover .cl-img img {
  transform: scale(1.08);
}

.cl-img-initial {
  font-size: 36px;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  letter-spacing: -1px;
  line-height: 1;
  font-family: var(--font);
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.35s ease;
}

.cl-card:hover .cl-img-initial {
  transform: scale(1.1);
}

/* ── PLAY BUTTON on image ── */
.cl-play-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.cl-play-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.15);
}

/* ── CARD BODY ── */
.cl-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.cl-body-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cl-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.cl-industry-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,86,219,0.08);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── SERVICE TAGS ── */
.cl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
}

.cl-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  background: var(--gray-light);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
  line-height: 1.5;
}

/* ── CASE LINK ── */
.cl-case-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  transition: gap 0.2s;
}

.cl-case-link:hover {
  color: var(--primary-dark);
  gap: 8px;
}

/* ── CTA STRIP ── */
.cl-cta {
  background: var(--navy);
  padding: 56px 0;
}

.cl-cta-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cl-cta-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(26,86,219,0.25);
  border: 1px solid rgba(26,86,219,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--cyan);
  flex-shrink: 0;
}

.cl-cta-text h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cl-cta-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.cl-cta-inner .btn-cta-lg { margin-left: auto; }

/* ── VIDEO MODAL ── */
.cl-modal-content {
  background: var(--navy);
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.cl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cl-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.cl-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.cl-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.cl-modal-body { padding: 0; }

.cl-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.cl-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1199px) {
  .cl-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .cl-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 479px) {
  .cl-grid { grid-template-columns: 1fr; }
  .cl-cta-inner .btn-cta-lg { margin-left: 0; }
}

/* ============================================================
   CASE STUDIES PAGE (rezultati.php)
============================================================ */

/* Page hero */
.cs-hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 100%);
  padding: 70px 0 60px;
  text-align: center;
}

.cs-hero-pre {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.cs-hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 18px;
}

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

.cs-hero-sub {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Case list */
.cs-list {
  padding: 80px 0 60px;
  background: #fff;
}

.cs-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border);
}

.cs-item:last-child { border-bottom: none; }

.cs-reverse {
  direction: rtl;
}

.cs-reverse > * { direction: ltr; }

/* Visual side */
.cs-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dot pattern */
.cs-dots {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  border-radius: 8px;
  z-index: 0;
}

.cs-item:not(.cs-reverse) .cs-dots { left: -20px; bottom: -20px; }
.cs-item.cs-reverse      .cs-dots { right: -20px; bottom: -20px; }

/* Dark card */
.cs-card {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 36px 36px 32px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(13,27,46,0.20);
  transform: rotate(-1.5deg);
  transition: transform 0.3s;
}

.cs-item.cs-reverse .cs-card { transform: rotate(1.5deg); }

.cs-card:hover { transform: rotate(0deg) scale(1.02) !important; }

.cs-card-logo {
  margin-bottom: 32px;
}

.cs-card-brand {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cs-card-stat {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.cs-card-stat-lbl {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.cs-card-service {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 50px;
}

/* Text side */
.cs-text { }

.cs-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26,86,219,0.08);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.cs-text h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.cs-text p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.cs-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.cs-tech-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
  background: var(--gray-light);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.btn-cs-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.15s;
}

.btn-cs-more:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

/* CTA banner */
.cs-cta-banner {
  background: var(--navy);
  padding: 60px 0;
}

.cs-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cs-cta-inner h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cs-cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 500px;
}

/* Responsive */
@media (max-width: 991px) {
  .cs-item {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr !important;
  }
  .cs-card { max-width: 100%; }
  .cs-cta-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGE HERO (вътрешни страници)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, #f0f5ff 0%, #f8faff 100%);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--border);
}

.page-hero-pre {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.page-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--navy);
  margin: 0;
}

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

/* ============================================================
   CONTACT PAGE
============================================================ */

/* === Section 1: Map + Info === */
.cinfo-section {
  padding: 90px 0 80px;
  background: #fff;
}

/* Circular map */
.cinfo-map {
  width: 460px;
  height: 460px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(13,27,46,0.12);
  position: relative;
}

.cinfo-map iframe {
  width: 140%;
  height: 140%;
  border: 0;
  margin-left: -20%;
  margin-top: -10%;
  pointer-events: none;
}

.cinfo-map:hover iframe {
  pointer-events: auto;
}

/* Title */
.cinfo-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.1;
}

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

.cinfo-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-text);
  margin-bottom: 0;
}

.cinfo-hr {
  border-color: var(--border);
  margin: 32px 0;
}

/* Contact items 2-col grid */
.cinfo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.cinfo-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cii-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.cinfo-item h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 5px;
}

.cinfo-item p {
  font-size: 13.5px;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.65;
}

.cinfo-item p a {
  color: var(--gray-text);
  transition: color 0.2s;
}

.cinfo-item p a:hover { color: var(--primary); }

/* === Services marquee === */
.svc-marquee-section {
  background: var(--gray-light);
  padding: 70px 0 60px;
  overflow: hidden;
}

.svc-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

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

/* Outer wrapper — masks overflow + fade edges */
.svc-marquee-outer {
  overflow: hidden;
  position: relative;
}

.svc-marquee-outer::before,
.svc-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.svc-marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-light), transparent);
}

.svc-marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-light), transparent);
}

/* Scrolling track — duplicated items for seamless loop */
.svc-marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee-rtl 36s linear infinite;
}

.svc-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cards — no background, 4 visible */
.svc-mcard {
  width: calc(25vw - 40px);
  min-width: 220px;
  max-width: 320px;
  flex-shrink: 0;
  padding: 12px 8px;
}

.svc-mcard:hover .svc-micon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.svc-micon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  background: transparent;
}

.svc-mcard h6 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.svc-mcard p {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* === Section 2: Form === */
.cform-section {
  background: var(--gray-light);
  padding: 80px 0 90px;
}

.cform-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 50px 50px 50px;
  box-shadow: 0 4px 30px rgba(13,27,46,0.07);
}

.cform-head {
  text-align: center;
  margin-bottom: 36px;
}

.cform-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}

.cform-head h2 span { color: var(--primary); }

.cform-head p {
  font-size: 15px;
  color: var(--gray-text);
  margin: 0;
}

/* Inputs */
.cf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.cf-label span { color: var(--primary); }

.cf-input {
  width: 100%;
  background: var(--gray-light);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}

.cf-input::placeholder { color: #aab4c0; }

.cf-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.08);
}

.cf-textarea {
  height: 140px;
  resize: vertical;
}

.cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Submit */
.btn-cta-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(26,86,219,0.28);
}

.btn-cta-lg:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26,86,219,0.38);
}

/* Success */
.cform-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #edfaf3;
  border: 1.5px solid #6ee7b7;
  border-radius: 14px;
  padding: 22px 24px;
}

.cform-success .bi {
  font-size: 28px;
  color: #10b981;
  flex-shrink: 0;
}

.cform-success strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.cform-success p { font-size: 13.5px; margin: 0; }

/* Responsive */
@media (max-width: 991px) {
  .cinfo-map { width: 360px; height: 360px; }
}

@media (max-width: 767px) {
  .cinfo-grid { grid-template-columns: 1fr; }
  .cinfo-map { width: 280px; height: 280px; }
  .cform-inner { padding: 30px 20px; }
}

/* ============================================================
   SERVICE PAGES (uslugi/*.php)
============================================================ */

/* ── HERO ── */
.sv-hero {
  background: var(--navy);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.sv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 100% 60%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0%   30%, rgba(26,86,219,0.12)  0%, transparent 60%);
  pointer-events: none;
}

.sv-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
}

.sv-hero-left { flex: 1; }

.sv-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  font-size: 24px;
  color: var(--sv-accent, var(--cyan));
  margin-bottom: 22px;
}

.sv-hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.sv-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.sv-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-sv-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--sv-accent, var(--primary));
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-sv-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #fff; }

.btn-sv-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-sv-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Hero visual (right) */
.sv-hero-right { flex-shrink: 0; }

.sv-hero-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 32px;
  min-width: 260px;
  text-align: center;
}

.sv-visual-icon {
  font-size: 52px;
  color: var(--sv-accent, var(--cyan));
  opacity: 0.25;
  margin-bottom: 28px;
}

.sv-visual-stats { display: flex; flex-direction: column; gap: 20px; }

.sv-vstat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sv-vstat:last-child { border-bottom: none; padding-bottom: 0; }

.sv-vstat-val {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.sv-vstat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: right;
  max-width: 130px;
  line-height: 1.4;
}

/* ── GENERIC SECTION ── */
.sv-section {
  padding: 30px 0;
  background: #fff;
}

.sv-section:nth-child(even) { background: var(--gray-light); }

.sv-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.sv-section-head--light h2 { color: #fff; }

.sv-section-pre {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.sv-section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.sv-section-sub {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin: 0;
}

/* ── INCLUDES GRID ── */
.sv-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sv-include-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.sv-section:nth-child(even) .sv-include-card { background: #fff; }

.sv-include-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(13,27,46,0.09);
  transform: translateY(-3px);
}

.sv-ic-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.sv-include-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.sv-include-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ── FOR WHO ── */
.sv-for-who { background: var(--gray-light); }

.sv-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sv-who-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(13,27,46,0.05);
  text-align: center;
}

.sv-who-icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.sv-who-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.sv-who-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ── PROCESS ── */
.sv-process-section { background: #fff; }

.sv-process {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.sv-process::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.sv-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 0 40px;
  position: relative;
}

.sv-step:last-child { padding-bottom: 0; }

.sv-step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sv-accent, var(--primary));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--border);
}

.sv-step-body h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  padding-top: 14px;
}

.sv-step-body p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.75;
  margin: 0;
}

/* ── RESULTS ── */
.sv-results-section {
  background: var(--navy);
  padding: 80px 0;
}

.sv-results-section .sv-section-head { margin-bottom: 48px; }

.sv-results-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}

.sv-rnum {
  background: rgba(255,255,255,0.03);
  padding: 40px 24px;
  text-align: center;
  transition: background 0.2s;
}

.sv-rnum:hover { background: rgba(255,255,255,0.07); }

.sv-rnum-val {
  display: block;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.sv-rnum-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

.sv-case-teaser {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.sv-case-teaser p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.sv-case-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sv-accent, var(--cyan));
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s;
}

.sv-case-btn:hover { gap: 12px; color: var(--sv-accent, var(--cyan)); }

/* ── FAQ ── */
.sv-faq-section { background: var(--gray-light); }

.sv-faq-wrap { max-width: 760px; }

.sv-accordion { margin-top: 0; }

.sv-faq-item {
  background: #fff;
  border: 1.5px solid var(--border) !important;
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.sv-faq-btn {
  font-family: var(--font) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  background: #fff !important;
  padding: 20px 24px !important;
  box-shadow: none !important;
}

.sv-faq-btn:not(.collapsed) { color: var(--sv-accent, var(--primary)) !important; }

.sv-faq-btn::after {
  filter: none;
  color: var(--sv-accent, var(--primary));
}

.sv-faq-body {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.75;
  padding: 0 24px 22px !important;
}

/* ── CTA + FORM ── */
.sv-cta-section {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 90px 0;
}

.sv-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sv-cta-left h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.sv-cta-left p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 28px;
}

.sv-cta-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sv-cta-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.sv-cta-bullets li i {
  font-size: 18px;
  color: var(--sv-accent, var(--primary));
}

.sv-cta-form {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1.5px solid var(--border);
}

.sv-cta-form h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 22px;
}

.sv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0;
}

.sv-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--sv-accent, var(--primary));
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s, transform 0.2s;
}

.sv-submit-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .sv-hero-inner     { flex-direction: column; }
  .sv-hero-visual    { width: 100%; }
  .sv-visual-stats   { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .sv-vstat          { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.07); padding: 0 20px 0 0; }
  .sv-vstat:last-child { border-right: none; }
  .sv-includes-grid  { grid-template-columns: repeat(2, 1fr); }
  .sv-who-grid       { grid-template-columns: 1fr; }
  .sv-results-nums   { grid-template-columns: repeat(2, 1fr); }
  .sv-cta-inner      { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 575px) {
  .sv-includes-grid  { grid-template-columns: 1fr; }
  .sv-results-nums   { grid-template-columns: 1fr; }
  .sv-form-row       { grid-template-columns: 1fr; }
  .sv-hero           { padding: 50px 0 60px; }
}

/* ============================================================
   CASE STUDY DETAIL (rezultati/*.php)
============================================================ */

/* ── HERO ── */
.cd-hero {
  background: var(--case-color, var(--navy));
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.cd-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 80%,   rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.cd-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.cd-hero-left { flex: 1; }

.cd-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.cd-back:hover { color: rgba(255,255,255,0.9); }

.cd-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--case-accent, var(--cyan));
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.cd-hero-title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  max-width: 620px;
}

.cd-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 24px;
}

.cd-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-hero-tags span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Stat card */
.cd-stat-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px;
  min-width: 240px;
  text-align: center;
}

.cd-stat-val {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.cd-stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}

.cd-mini-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.cd-mini-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cd-mini-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.cd-mini-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: right;
}

/* ── INTRO ── */
.cd-intro {
  padding: 20px 0 80px;
  background: #fff;
  box-shadow: 0 -4px 0 0 var(--border) inset;
}

.cd-intro-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.cd-intro-title {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 20px;
}

.cd-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.cd-intro-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
  background: var(--gray-light);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 50px;
}

.cd-intro-visual {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(13,27,46,0.10);
}

.cd-intro-visual img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.cd-intro-text {
  max-width: 740px;
}

.cd-intro-text p {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.85;
  margin-bottom: 20px;
}

.cd-intro-text p:last-child { margin-bottom: 0; }

/* Placeholder visual */
.cd-visual-placeholder {
  border-radius: 20px;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 40px;
}

.cd-vp-stat {
  font-size: 72px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -3px;
  opacity: 0.9;
}

.cd-vp-lbl {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.cd-vp-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

.cd-intro-grid img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(13,27,46,0.12);
}

/* ── GENERIC SECTION ── */
.cd-section {
  padding: 40px 0;
}

.cd-section:nth-child(even) { background: var(--gray-light); }

.cd-narrow { max-width: 740px; margin-left: auto; margin-right: auto; }

.cd-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cd-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.2;
}

.cd-section p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.85;
}

/* ── GOALS ── */
.cd-goals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.cd-goal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}

.cd-goal-num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.cd-goal-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* ── STRATEGY ── */
.cd-strategy-section {
  background: var(--gray-light);
}

.cd-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.cd-strategy-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 26px;
  box-shadow: 0 2px 16px rgba(13,27,46,0.05);
  position: relative;
}

.cd-strategy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.cd-strategy-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.cd-strategy-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.75;
  margin: 0;
}

/* ── RESULTS ── */
.cd-results-section {
  background: var(--navy);
  padding: 80px 0;
}

.cd-results-section .cd-section-label { opacity: 0.7; }

.cd-results-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
  line-height: 1.2;
}

.cd-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}

.cd-result-block {
  background: rgba(255,255,255,0.04);
  padding: 40px 28px;
  text-align: center;
  transition: background 0.2s;
}

.cd-result-block:hover { background: rgba(255,255,255,0.08); }

.cd-result-val {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.cd-result-lbl {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.cd-results-note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ── FACTORS ── */
.cd-factors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cd-factors li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.6;
  font-weight: 500;
}

.cd-factors li i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA ── */
.cd-cta-section {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  padding: 90px 0;
}

.cd-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cd-cta-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.cd-cta-text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 28px;
}

.cd-cta-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cd-cta-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.cd-cta-bullets li i {
  font-size: 18px;
  color: var(--case-accent, var(--primary));
}

/* Form */
.cd-cta-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 32px rgba(13,27,46,0.07);
}

.cd-cta-form h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

.cd-input {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--gray-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.cd-input:focus { border-color: var(--case-accent, var(--primary)); }

.cd-textarea { resize: vertical; min-height: 90px; }

.cd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--case-accent, var(--primary));
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  transition: opacity 0.2s, transform 0.2s;
}

.cd-cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.cd-cta-success {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(16,185,129,0.08);
  border: 1.5px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.5;
}

.cd-cta-success i {
  font-size: 28px;
  color: #10B981;
  flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .cd-hero-inner     { flex-direction: column; }
  .cd-stat-card      { min-width: auto; width: 100%; }
  .cd-intro-grid     { grid-template-columns: 1fr; gap: 36px; }
  .cd-strategy-grid  { grid-template-columns: 1fr; }
  .cd-results-grid   { grid-template-columns: repeat(2, 1fr); }
  .cd-cta-inner      { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 575px) {
  .cd-results-grid   { grid-template-columns: 1fr; }
  .cd-hero           { padding: 50px 0 60px; }
  .cd-intro          { padding: 50px 0; }
  .cd-section        { padding: 50px 0; }
  .cd-results-section{ padding: 50px 0; }
  .cd-cta-section    { padding: 60px 0; }
}

/* ============================================================
   FOOTER
============================================================ */
#mainFooter {
  background: var(--navy);
  padding: 70px 0 0;
  color: rgba(255,255,255,0.65);
}

/* Footer logo */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 34px;
  filter: brightness(0) invert(1);
}

.footer-logo .brand-name {
  color: #fff;
}

.footer-logo .brand-icon {
  background: var(--primary);
}

/* Footer description */
.footer-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  margin-bottom: 24px;
  max-width: 300px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Footer headings */
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

/* Footer links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Footer contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}

.footer-contact li i {
  color: var(--cyan);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

/* Footer divider */
.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 48px 0 0;
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}



/* ============================================================
   ZA NAS — editorial hero + visual
============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.zn-hero {
  padding: 40px 0 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.zn-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
  align-items: center;
  padding-bottom: 56px;
}

.zn-hero-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 22px;
}

.zn-hero-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--navy);
}

.zn-h1-outline {
  -webkit-text-stroke: 2px var(--navy);
  color: transparent;
}

.zn-h1-accent { color: var(--primary); }

.zn-hero-sub {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.zn-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.zn-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.zn-btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 8px 28px rgba(26,86,219,.3);
}

.zn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.zn-btn-ghost:hover { gap: 14px; color: var(--primary); }

/* ── Hero visual (right column) ──────────────────────────── */
.zn-hero-right {
  display: flex;
  justify-content: center;
}

.zn-hvisual {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Main agency card */
.zn-hv-main {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(13,27,46,.12);
  padding: 28px 28px 24px;
  position: relative;
  z-index: 1;
}

.zn-hv-main-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.zn-hv-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.zn-hv-brand {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.zn-hv-since {
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 2px;
}

/* Mini bar chart */
.zn-hv-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
  margin-bottom: 8px;
}

.zn-hv-bar {
  flex: 1;
  background: var(--gray-light);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s;
}

.zn-hv-bar-active { background: var(--primary); }

.zn-hv-chart-lbl {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-bottom: 16px;
}

.zn-hv-chart-lbl span {
  font-size: 10px;
  color: var(--gray-text);
  font-weight: 600;
}

.zn-hv-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}

.zn-hv-bottom-stats {
  display: flex;
  justify-content: space-between;
}

.zn-hv-bstat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zn-hv-bval {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.zn-hv-blbl {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
  margin-top: 2px;
}

/* Floating cards */
.zn-hv-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(13,27,46,.12);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  white-space: nowrap;
}

.zn-hv-float-tl {
  top: -20px;
  right: -20px;
  animation: zn-float-a 3s ease-in-out infinite;
}

.zn-hv-float-br {
  bottom: -20px;
  right: -20px;
  animation: zn-float-b 3.4s ease-in-out infinite;
}

.zn-hv-float-bml {
  bottom: 60px;
  left: -24px;
  animation: zn-float-c 3.8s ease-in-out infinite;
}

@keyframes zn-float-a {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
@keyframes zn-float-b {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(8px); }
}
@keyframes zn-float-c {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}

.zn-hv-fi {
  font-size: 20px;
}

.zn-hv-fi.cyan   { color: var(--cyan); }
.zn-hv-fi.blue   { color: var(--primary); }
.zn-hv-fi.purple { color: #8B5CF6; }

.zn-hv-fval {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.zn-hv-flbl {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
  margin-top: 2px;
}

/* ── Stats strip ─────────────────────────────────────────── */
.zn-stats-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.zn-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.zn-stat-val {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.zn-stat-text-val {
  font-size: 2.2rem;
}

.zn-stat-plus {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}

.zn-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: 7px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.zn-stat-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── История — horizontal timeline ──────────────────────── */
.zn-story-section {
  padding: 30px 0 20px;
  background: var(--gray-light);
}

.zn-section-label { margin-bottom: 14px; }

.zn-section-label span,
.zn-section-label-inline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.zn-story-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 56px;
}

.zn-htl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.zn-htl::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(10% + 12px);
  right: calc(10% + 12px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.zn-htl-item {
  position: relative;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zn-htl-year {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.zn-htl-now .zn-htl-year {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  width: 48px;
  height: 48px;
  margin-top: -4px;
}

.zn-htl-body { text-align: center; }

.zn-htl-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.zn-htl-body p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.65;
  margin: 0;
}

/* ── Team ────────────────────────────────────────────────── */
.zn-team-section {
  padding: 96px 0;
  background: #fff;
}

.zn-team-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 64px;
}

.zn-person {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.zn-person:last-child { border-bottom: 1px solid var(--border); }

.zn-person-reverse { direction: rtl; }
.zn-person-reverse > * { direction: ltr; }

.zn-person-visual { position: relative; }

.zn-person-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  border-radius: 12px;
  bottom: -18px;
  right: -18px;
  z-index: 0;
}

.zn-person-reverse .zn-person-dots { right: auto; left: -18px; }

.zn-person-card {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 360px;
  transform: rotate(-1.5deg);
  transition: transform 0.3s;
}

.zn-person-card:hover { transform: rotate(0deg) scale(1.02); }

.zn-person-initials {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.zn-person-stat {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.zn-person-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}

.zn-person-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
}

.zn-person-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.zn-person-text h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--navy);
}

.zn-person-text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.zn-person-links {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.zn-person-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.zn-person-links a:hover { color: var(--primary); }

/* ── Manifesto ───────────────────────────────────────────── */
.zn-manifesto-section {
  padding: 52px 0;
  background: var(--gray-light);
}

.zn-manifesto-head { margin-bottom: 52px; }

.zn-manifesto-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-top: 12px;
}

.zn-manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.zn-mani-col {
  border-radius: var(--radius-card);
  padding: 40px 40px 44px;
}

.zn-mani-do { background: var(--navy); }

.zn-mani-dont {
  background: #fff;
  border: 1px solid var(--border);
}

.zn-mani-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 28px;
}

.zn-mani-do .zn-mani-col-head { color: #fff; }
.zn-mani-dont .zn-mani-col-head { color: var(--navy); }

.zn-mani-do .zn-mani-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex-shrink: 0;
}

.zn-mani-dont .zn-mani-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(239,68,68,.12);
  color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; flex-shrink: 0;
}

.zn-mani-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}

.zn-mani-do li {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
}

.zn-mani-do li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--cyan); font-weight: 700;
  font-size: 13px;
}

.zn-mani-dont li {
  font-size: 15px;
  color: var(--gray-text);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
  text-decoration: line-through;
  text-decoration-color: rgba(107,122,143,.3);
}

.zn-mani-dont li::before {
  content: '✕';
  position: absolute; left: 0;
  color: rgba(239,68,68,.45); font-weight: 700;
  font-size: 11px;
  top: 2px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .zn-hero-row {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }

  .zn-hero-right { display: none; } /* hide visual on mobile/tablet */

  .zn-htl {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .zn-htl::before { display: none; }

  .zn-person,
  .zn-person-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
  }

  .zn-person-card { max-width: 100%; }
  .zn-manifesto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .zn-htl { grid-template-columns: 1fr; }
  .zn-stats-strip { flex-wrap: wrap; }
  .zn-stat-item { min-width: 45%; }
  .zn-stat-sep { display: none; }
  .zn-hero-h1 { font-size: 2.6rem; }
  .zn-mani-col { padding: 28px 24px; }
}


/* ============================================================
   EKIP PAGE
============================================================ */

.ek-hero {
  padding: 17px 0 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.ek-hero-inner {
  max-width: 680px;
  padding-bottom: 52px;
}

.ek-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.ek-hero-h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 20px;
}

.ek-hero-h1 span { color: var(--primary); }

.ek-hero-sub {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}

/* Count strip */
.ek-count-strip {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.ek-cs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.ek-cs-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.ek-cs-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 6px;
}

.ek-cs-sep {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* Team section reuses zn-person styles from za-nas */
.ek-team-section {
  padding: 80px 0;
  background: #fff;
}

/* Join CTA */
.ek-join-section {
  padding: 72px 0;
  background: var(--navy);
}

.ek-join-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.ek-join-left h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}

.ek-join-left p {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}

.ek-join-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.ek-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}

.ek-join-btn:hover {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 8px 28px rgba(26,86,219,.4);
}

.ek-join-note {
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

.ek-join-note a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color 0.2s;
}

.ek-join-note a:hover { color: #fff; }

@media (max-width: 767px) {
  .ek-join-inner { grid-template-columns: 1fr; }
  .ek-join-right { align-items: flex-start; }
  .ek-count-strip { flex-wrap: wrap; }
  .ek-cs-item { min-width: 45%; }
  .ek-cs-sep { display: none; }
}


/* ============================================================
   KARIERI PAGE
============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.kr-hero {
  padding: 25px 0 64px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.kr-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
  align-items: center;
}

.kr-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.kr-hero-h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 20px;
}

.kr-hero-h1 span { color: var(--primary); }

.kr-hero-sub {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 28px;
}

.kr-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.kr-hero-cta:hover { gap: 12px; color: var(--primary); }

/* Values grid in hero */
.kr-hero-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.kr-hv-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.kr-hv-item:last-child { border-bottom: none; }
.kr-hv-item:hover { background: var(--gray-light); }

.kr-hv-icon {
  width: 40px;
  height: 40px;
  background: rgba(26,86,219,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.kr-hv-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.kr-hv-item span {
  display: block;
  font-size: 12px;
  color: var(--gray-text);
  margin-top: 2px;
}

/* ── Why section ─────────────────────────────────────────── */
.kr-why-section {
  padding: 26px 0;
  background: var(--gray-light);
}

.kr-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 80px;
  align-items: center;
}

.kr-why-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.kr-why-text p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 14px;
}

.kr-why-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kr-why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.kr-why-list li i { color: var(--primary); font-size: 17px; }

/* Visual card */
.kr-why-visual { position: relative; }

.kr-wv-card {
  background: var(--navy);
  border-radius: 20px;
  padding: 36px;
}

.kr-wv-tag {
  display: inline-block;
  background: rgba(41,171,226,.15);
  color: var(--cyan);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kr-wv-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.kr-wv-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin-bottom: 24px;
}

.kr-wv-row {
  display: flex;
  justify-content: space-between;
}

.kr-wv-stat { display: flex; flex-direction: column; align-items: center; }

.kr-wv-val {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}

.kr-wv-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  text-align: center;
}

.kr-wv-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(13,27,46,.14);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kr-wv-float i { font-size: 20px; }

.kr-wv-float strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.kr-wv-float span {
  display: block;
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 2px;
}

/* ── Jobs section ────────────────────────────────────────── */
.kr-jobs-section {
  padding: 28px 0;
  background: #fff;
}

.kr-jobs-head {
  margin-bottom: 48px;
}

.kr-jobs-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.kr-jobs-sub {
  font-size: 15px;
  color: var(--gray-text);
  margin: 0;
}

.kr-job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.kr-job-card:hover {
  box-shadow: 0 8px 32px rgba(13,27,46,.09);
}

.kr-job-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.kr-job-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kr-job-meta { flex: 1; min-width: 0; }

.kr-job-meta h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.kr-job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kr-tag {
  display: inline-block;
  background: var(--gray-light);
  color: var(--gray-text);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.kr-tag-new {
  background: rgba(26,86,219,.08);
  color: var(--primary);
}

.kr-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.kr-apply-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26,86,219,.3);
}

.kr-job-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--gray-light);
}

.kr-job-col {
  padding: 28px 32px;
}

.kr-job-col:first-child {
  border-right: 1px solid var(--border);
}

.kr-job-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.kr-job-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kr-job-col li {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  padding-left: 16px;
  position: relative;
}

.kr-job-col li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  top: 1px;
}

/* ── Open application ────────────────────────────────────── */
.kr-open-section {
  padding: 64px 0;
  background: var(--gray-light);
  border-top: 1px solid var(--border);
}

.kr-open-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.kr-open-inner h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.kr-open-inner p {
  font-size: 15px;
  color: var(--gray-text);
  margin: 0;
  max-width: 480px;
}

.kr-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.kr-open-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .kr-hero-inner { grid-template-columns: 1fr; }
  .kr-why-grid   { grid-template-columns: 1fr; }
  .kr-wv-float   { position: static; margin-top: 16px; }
  .kr-job-top    { flex-wrap: wrap; }
}

@media (max-width: 575px) {
  .kr-job-body   { grid-template-columns: 1fr; }
  .kr-job-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .kr-open-inner { flex-direction: column; align-items: flex-start; }
}


/* ── За нас hover dropdown ───────────────────────────────── */
.za-parent { position: relative; }

.za-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 1050;
  min-width: 160px;
}


/* ============================================================
   HOMEPAGE — допълнителни секции
============================================================ */

/* ── Общи helpers ────────────────────────────────────────── */
.hp-section-head {
  margin-bottom: 52px;
}

.hp-section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 0;
}

.hp-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ── Услуги ──────────────────────────────────────────────── */
.hp-services {
  padding: 9px 0 24px;
  background: var(--gray-light);
}

.hp-srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-srv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.hp-srv-card:hover {
  box-shadow: 0 10px 36px rgba(13,27,46,.09);
  transform: translateY(-4px);
  border-color: rgba(26,86,219,.2);
}

.hp-srv-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ic) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ic);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.hp-srv-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.hp-srv-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.hp-srv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: gap 0.2s;
}

.hp-srv-card:hover .hp-srv-link { gap: 10px; }

/* ── Резултати ───────────────────────────────────────────── */
.hp-results {
  padding: 80px 0;
  background: var(--navy);
}

/* Editorial split layout */
.hp-res-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

/* Left */
.hp-res-left {
  position: sticky;
  top: 100px;
  padding-top: 8px;
}

.hp-pre--light {
  color: var(--cyan);
  opacity: .75;
}

.hp-res-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin: 10px 0 16px;
}

.hp-res-sub {
  font-size: 15px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hp-res-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}

.hp-res-all:hover { gap: 12px; color: #fff; }

/* Right — metric rows */
.hp-res-right {
  display: flex;
  flex-direction: column;
}

.hp-res-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  transition: background 0.2s;
}

.hp-res-row--last { border-bottom: 1px solid rgba(255,255,255,.08); }

.hp-res-row:hover { background: rgba(255,255,255,.025); }

/* Big number */
.hp-res-big {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Info block */
.hp-res-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-res-info strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.hp-res-info p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin: 0;
  line-height: 1.5;
}

.hp-res-tag {
  display: inline-block;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.5);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 4px;
}

/* ── Защо ние ────────────────────────────────────────────── */
.hp-why {
  padding: 49px 0;
  background: #fff;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hp-why-card {
  border-top: 2px solid var(--border);
  padding-top: 28px;
  transition: border-color 0.2s;
}

.hp-why-card:hover { border-color: var(--primary); }

.hp-why-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.hp-why-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.hp-why-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ── Клиенти лога ────────────────────────────────────────── */
.hp-clients {
  padding: 48px 0 52px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hp-clients-label {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hp-clients-label::before,
.hp-clients-label::after {
  content: "";
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--border);
  border-radius: 2px;
}

/* Marquee лента */
.hp-logos-marquee-outer {
  overflow: hidden;
  position: relative;
}

.hp-logos-marquee-outer::before,
.hp-logos-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.hp-logos-marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, #fff 20%, transparent);
}
.hp-logos-marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, #fff 20%, transparent);
}

.hp-logos-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  animation: hp-logos-scroll 24s linear infinite;
  padding: 4px 0;
}

.hp-logos-marquee-track:hover { animation-play-state: paused; }

@keyframes hp-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Карта на лого */
.hp-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 190px;
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--lc) 7%, #fff);
  border: 1.5px solid color-mix(in srgb, var(--lc) 18%, transparent);
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s;
}

.hp-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--lc) 18%, transparent);
}

.hp-logo-item img {
  height: 52px;
  width: 140px;
  object-fit: contain;
  filter: none;
  transition: none;
}

.hp-logo-item span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: color-mix(in srgb, var(--lc) 70%, #333);
  text-transform: uppercase;
  white-space: nowrap;
}

.hp-logo-item:hover img {
  filter: none;
}

/* ── CTA ─────────────────────────────────────────────────── */
.hp-cta {
  padding: 88px 0;
  background: var(--primary);
}

.hp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hp-cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hp-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin: 0;
  max-width: 480px;
}

.hp-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.hp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

.hp-cta-btn:hover {
  color: var(--primary-dark);
  box-shadow: 0 10px 32px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.hp-cta-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}

.hp-cta-contact i { color: rgba(255,255,255,.9); }

.hp-cta-contact a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.hp-cta-contact a:hover { color: #fff; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .hp-srv-grid  { grid-template-columns: repeat(2, 1fr); }
  .hp-res-layout { grid-template-columns: 1fr; gap: 40px; }
  .hp-res-left   { position: static; }
  .hp-res-row    { grid-template-columns: 120px 1fr; gap: 20px; }
  .hp-why-grid  { grid-template-columns: repeat(2, 1fr); }
  .hp-cta-inner { flex-direction: column; align-items: flex-start; }
  .hp-cta-actions { align-items: flex-start; }
}

@media (max-width: 575px) {
  .hp-srv-grid { grid-template-columns: 1fr; }
  .hp-res-row  { grid-template-columns: 1fr; gap: 8px; }
  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-logos-row { gap: 28px; }
}


/* ============================================================
   ZAPITANE PAGE
============================================================ */

.zap-hero {
  padding: 64px 0 80px;
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
}

.zap-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px 72px;
  align-items: start;
}

/* Left column */
.zap-pre {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.zap-h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 18px;
}

.zap-sub {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 420px;
}

.zap-promises {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.zap-promise {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.zap-promise i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.zap-contact-strip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.zap-cs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: background 0.2s;
}

.zap-cs-item:hover { background: rgba(26,86,219,.05); }

.zap-cs-item > i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26,86,219,.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.zap-cs-lbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.zap-cs-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}

/* Right: Form wrapper */
.zap-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 40px 36px;
  box-shadow: 0 8px 40px rgba(13,27,46,.07);
}

/* Fieldset groups */
.zap-fieldset {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.zap-fieldset:last-of-type { border-bottom: none; margin-bottom: 20px; padding-bottom: 0; }

.zap-fieldset-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.zap-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.zap-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zap-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.req { color: var(--primary); }

.zap-field input,
.zap-field select,
.zap-field textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.zap-field input:focus,
.zap-field select:focus,
.zap-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.zap-field textarea { resize: vertical; min-height: 120px; }

/* Service chips */
.zap-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.zap-srv-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}

.zap-srv-chip input[type="checkbox"] {
  display: none;
}

.zap-srv-chip i {
  font-size: 15px;
  color: var(--gray-text);
  flex-shrink: 0;
  transition: color 0.2s;
}

.zap-srv-chip:hover {
  border-color: var(--primary);
  background: rgba(26,86,219,.04);
}

.zap-srv-chip:has(input:checked) {
  border-color: var(--primary);
  background: rgba(26,86,219,.07);
  color: var(--primary);
}

.zap-srv-chip:has(input:checked) i { color: var(--primary); }

/* Submit */
.zap-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.zap-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 28px rgba(26,86,219,.3);
}

.zap-gdpr {
  font-size: 12px;
  color: var(--gray-text);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.zap-gdpr a { color: var(--primary); text-decoration: none; }

/* Success state */
.zap-success {
  text-align: center;
  padding: 48px 24px;
}

.zap-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(26,86,219,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin: 0 auto 24px;
}

.zap-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.zap-success p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.zap-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

/* Error */
.zap-error-msg {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  color: #dc2626;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .zap-hero-inner { grid-template-columns: 1fr; }
  .zap-form-wrap  { padding: 28px 24px; }
}

@media (max-width: 575px) {
  .zap-row-2        { grid-template-columns: 1fr; }
  .zap-services-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   MOBILE DRAWER — само за мобилно (≤991px)
============================================================ */

/* Скриваме Bootstrap collapse и топбара на мобилно */
@media (max-width: 991px) {

  #topBar { display: none; }

  /* Скриваме стандартния Bootstrap collapse */
  #navMain { display: none !important; }

  /* ── Хамбургер бутон ────────────────────────────────────── */
  .mob-open-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mob-open-btn:hover { background: var(--gray-light); }

  .mob-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* ── Overlay ────────────────────────────────────────────── */
  #mobOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,46,.55);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s;
  }

  #mobOverlay.mob-open {
    display: block;
    opacity: 1;
  }

  /* ── Drawer ─────────────────────────────────────────────── */
  #mobDrawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 92vw);
    background: #fff;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(13,27,46,.18);
  }

  #mobDrawer.mob-open {
    transform: translateX(0);
  }

  /* ── Drawer header ──────────────────────────────────────── */
  .mob-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .mob-drawer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .mob-close-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
  }

  .mob-close-btn:hover {
    background: var(--gray-light);
    border-color: var(--navy);
  }

  /* ── Nav ────────────────────────────────────────────────── */
  .mob-nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
  }

  .mob-nav-link {
    display: flex;
    align-items: center;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
  }

  .mob-nav-link:hover,
  .mob-nav-link.mob-active {
    background: rgba(26,86,219,.05);
    color: var(--primary);
    border-left-color: var(--primary);
  }

  /* Accordion groups */
  .mob-nav-group { border-bottom: 1px solid var(--border); }

  .mob-nav-parent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
  }

  .mob-nav-parent i {
    font-size: 12px;
    color: var(--gray-text);
    transition: transform 0.25s;
    flex-shrink: 0;
  }

  .mob-nav-parent.mob-expanded i {
    transform: rotate(180deg);
  }

  .mob-nav-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--gray-light);
  }

  .mob-nav-children.mob-open {
    max-height: 600px;
  }

  .mob-nav-child {
    display: block;
    padding: 10px 24px 10px 36px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.15s;
  }

  .mob-nav-child:hover,
  .mob-nav-child.mob-active { color: var(--primary); }

  .mob-nav-cat {
    display: block;
    padding: 10px 24px 4px 24px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-text);
    opacity: .7;
  }

  /* ── Bottom ─────────────────────────────────────────────── */
  .mob-drawer-bottom {
    padding: 20px 24px 32px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Lang switcher */
  .mob-lang {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--gray-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
  }

  .mob-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }

  .mob-lang-btn.mob-lang-active {
    background: var(--navy);
    color: #fff;
  }

  .mob-lang-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
  }

  /* CTA */
  .mob-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background 0.2s;
  }

  .mob-cta-btn:hover {
    background: var(--primary-dark);
    color: #fff;
  }

  /* Contact row */
  .mob-contact-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mob-contact-row a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-text);
    text-decoration: none;
  }

  .mob-contact-row a i { color: var(--primary); }
  .mob-contact-row a:hover { color: var(--navy); }

  /* Предотвратяваме scroll на body когато drawer е отворен */
  body.mob-drawer-active { overflow: hidden; }
}


/* ============================================================
   KONTAKTI — секции пренареждане (мобилно: форма→карта→данни)
============================================================ */

/* На десктоп: cinfo (карта+данни) е визуално ПЪРВО, cform — второ */
.cpage-wrap {
  display: flex;
  flex-direction: column;
}

.cpage-wrap .cinfo-section { order: 1; }
.cpage-wrap .cform-section { order: 2; }

/* На мобилно: HTML редът важи — cform е написано първо, cinfo второ */
@media (max-width: 991px) {
  .cpage-wrap .cform-section { order: 1; }
  .cpage-wrap .cinfo-section { order: 2; }
}


/* ── Скриване на drawer на десктоп ── */
#mobDrawer  { display: none !important; }
#mobOverlay { display: none !important; }

@media (max-width: 991px) {
  #mobDrawer             { display: flex  !important; }
  #mobOverlay.mob-open   { display: block !important; }
}


/* ── Kontakti — намалено разстояние на мобилно ── */
@media (max-width: 991px) {
  .cform-section { padding: 23px 0 23px; }
  .cinfo-section { padding: 23px 0 23px; }
}


@media (max-width: 991px) {
  .mob-page-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    padding-top: 8px;
  }

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


/* ============================================================
   MOBILE OVERFLOW FIX — предотвратява хоризонтален скрол
============================================================ */
@media (max-width: 991px) {

  /* Глобално — блокира хоризонтален overflow */
  html { overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100vw; }

  /* Всички секции и контейнери да не излизат */
  section,
  .container,
  .row { max-width: 100%; overflow-x: hidden; }

  /* Navbar — изравняване на хамбургера без излишно разстояние */
  #mainNav .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  /* Bootstrap отрицателни margin-и на .row */
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Hero visual — не излиза вдясно */
  .hero-visual,
  .hv-card,
  .hv-float { max-width: 100%; }

  /* Marquee — изолирана */
  .svc-marquee-section { overflow: hidden; max-width: 100vw; }

  /* Абсолютно позиционирани floating елементи */
  .hv-float-tl,
  .hv-float-br { max-width: 60vw; }
}

@media (max-width: 575px) {
  /* На най-малките екрани — допълнително стягане */
  .container { padding-right: 16px; padding-left: 16px; }
}


/* ============================================================
   REZULTATI — мобилна версия
============================================================ */
@media (max-width: 991px) {

  /* Намален padding на cs-item */
  .cs-item {
    padding: 30px 0;
    gap: 24px;
  }

  /* Скриваме декоративните точки */
  .cs-dots { display: none; }

  /* Картата — права, без ротация, без сянка */
  .cs-card {
    transform: none !important;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 8px 24px rgba(13,27,46,0.15);
  }

  /* Visual wrap — нормален поток */
  .cs-visual-wrap {
    display: block;
    width: 100%;
  }

  /* Stat числото — малко по-малко за мобилен екран */
  .cs-card-stat {
    font-size: clamp(40px, 14vw, 64px);
  }
}

@media (max-width: 575px) {
  .cs-item { padding: 24px 0; }
  .cs-card { padding: 24px 20px 20px; }
}


@media (max-width: 991px) {
  .cs-list { padding: 0; }
}


/* ============================================================
   УСЛУГИ — мобилни корекции
============================================================ */

/* Fix: светлото заглавие в тъмна секция (важи за всички резолюции) */
.sv-section-head.sv-section-head--light h2 { color: #fff !important; }
.sv-section-head.sv-section-head--light .sv-section-sub { color: rgba(255,255,255,0.7) !important; }

@media (max-width: 991px) {

  /* 1. Скриваме визуалния елемент от hero */
  .sv-hero-visual { display: none !important; }

  /* 2. sv-section по-малък padding */
  .sv-section { padding: 20px 0 !important; }

  /* 3. Резултати — 2x2 grid (не 1 колона) */
  .sv-results-nums { grid-template-columns: repeat(2, 1fr) !important; }

  /* 4. sv-cta-section padding */
  .sv-cta-section { padding: 30px 0 !important; }

  /* 5. results-section padding */
  .sv-results-section { padding: 30px 0 !important; }
}


@media (max-width: 991px) {
  .sv-hero { padding: 35px 0 1px; }
}


/* ============================================================
   ЗА НАС — мобилни корекции
============================================================ */
@media (max-width: 991px) {
  .zn-hero               { padding: 20px 0; }
  .zn-story-section      { padding: 45px 0 7px; background: var(--gray-light); }
  .zn-manifesto-section  { padding: 20px 0; }
}


/* ============================================================
   ЗА НАС — Timeline мобилна версия
============================================================ */
@media (max-width: 767px) {

  /* Превръщаме хоризонталния grid в вертикален списък */
  .zn-htl {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }

  /* Скриваме хоризонталната свързваща линия */
  .zn-htl::before { display: none; }

  /* Всяко събитие — 2-колонен ред: година | съдържание */
  .zn-htl-item {
    display: grid !important;
    grid-template-columns: 68px 1fr;
    gap: 0 16px;
    align-items: start;
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--border);
  }

  .zn-htl-item:last-child { border-bottom: none; }

  /* Годината — голям bold акцент с вертикална линия вдясно */
  .zn-htl-year {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    border: none !important;
    border-right: 3px solid var(--primary) !important;
    background: transparent !important;
    color: var(--primary) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    margin: 4px 0 0 0 !important;
    padding-right: 14px;
    text-align: right;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
  }

  /* "Днес" — по-малко, пак акцентно */
  .zn-htl-now .zn-htl-year {
    font-size: 15px !important;
    border-right-color: var(--cyan) !important;
    color: var(--cyan) !important;
    margin-top: 2px !important;
  }

  /* Тяло — ляво подравнено */
  .zn-htl-body { text-align: left !important; }

  .zn-htl-body h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .zn-htl-body p {
    font-size: 13px;
    line-height: 1.6;
  }
}


/* ============================================================
   ЕКИП — мобилни корекции
============================================================ */
@media (max-width: 767px) {

  /* Картичката горе, текстът долу — без лявo/дясно редуване */
  .zn-person,
  .zn-person-reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 24px !important;
    padding: 28px 0 !important;
  }

  /* Без декоративни dots */
  .zn-person-dots { display: none; }

  /* Картата — центрирана, без наклон */
  .zn-person-visual { display: flex; justify-content: center; }

  .zn-person-card {
    transform: none !important;
    width: 100% !important;
    max-width: 320px !important;
    border-radius: 16px !important;
  }

  .zn-person-card:hover { transform: none !important; }

  /* Текстът — ляво подравнен */
  .zn-person-text { text-align: left !important; }
  .zn-person-links { justify-content: flex-start !important; }
}


/* ============================================================
   КАРИЕРИ — мобилни корекции
============================================================ */
@media (max-width: 767px) {

  /* Hero — по-малко разстояние отгоре */
  .kr-hero { padding-top: 20px !important; }

  /* Защо секция — по-малко отгоре */
  .kr-why-section { padding-top: 30px !important; }

  /* Job card горна лента:
     Ред 1: иконка + заглавие (flex row)
     Ред 2: тагове
     Ред 3: бутон пълна ширина              */
  .kr-job-top {
    flex-wrap: wrap !important;
    gap: 10px 12px !important;
    align-items: flex-start !important;
  }

  /* Иконка — компактна */
  .kr-job-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 18px !important;
    border-radius: 12px !important;
    order: 1;
  }

  /* Мета (заглавие + тагове) — вземя остатъка от ред 1 */
  .kr-job-meta {
    flex: 1 !important;
    min-width: 0 !important;
    order: 2;
  }

  .kr-job-meta h3 { font-size: 17px !important; margin-bottom: 6px !important; }

  .kr-job-tags { gap: 6px !important; flex-wrap: wrap !important; }
  .kr-tag { font-size: 11px !important; padding: 4px 10px !important; }

  /* Бутон — пълна ширина на ред 3 */
  .kr-apply-btn {
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    border-radius: 50px !important;
  }
}

/* ============================================================
   ЗАПИТВАНЕ — мобилни корекции
============================================================ */
@media (max-width: 767px) {
  .zap-hero {
    padding: 28px 0 80px !important;
  }
  .zap-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 31px 72px !important;
  }
}

/* ============================================================
   БЕЗПЛАТЕН ОДИТ — начална страница
============================================================ */
.hp-audit {
  padding: 80px 0 88px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.hp-audit-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hp-audit-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  margin: 10px 0 16px;
}

.hp-audit-heading span {
  background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-audit-sub {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Формата */
.hp-audit-form {
  display: flex;
  gap: 0;
  max-width: 700px;
  margin: 0 auto 32px;
  border-radius: 50px;
  box-shadow: 0 6px 32px rgba(26,86,219,.14);
  overflow: hidden;
  border: 1.5px solid var(--border);
}

.hp-audit-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  font-family: inherit;
}

.hp-audit-input::placeholder { color: #aab; }

.hp-audit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: linear-gradient(90deg, var(--primary) 0%, #2563eb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  font-family: inherit;
}

.hp-audit-btn:hover { opacity: .88; }

/* Badges */
.hp-audit-badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
}

.hp-audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--gray-light);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--border);
}

.hp-audit-badge .bi {
  color: var(--primary);
  font-size: 14px;
}

/* Success */
.hp-audit-success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 50px;
  color: #16a34a;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 32px;
}

@media (max-width: 575px) {
  .hp-audit-form { flex-direction: column; border-radius: 16px; overflow: visible; box-shadow: none; border: none; }
  .hp-audit-input { border-radius: 50px !important; border: 1.5px solid var(--border); }
  .hp-audit-btn   { border-radius: 50px !important; justify-content: center; }
}


/* ============================================================
   INDEX — мобилни корекции
============================================================ */
@media (max-width: 767px) {

  /* Резултати — по-малко padding */
  .hp-results { padding: 40px 0 !important; }

  /* Одит секция — центрирана и равномерна */
  .hp-audit { padding: 44px 0 52px !important; }

  .hp-audit-heading { font-size: 1.75rem !important; }

  .hp-audit-sub {
    font-size: 14px !important;
    margin-bottom: 28px !important;
  }

  .hp-audit-form {
    flex-direction: column !important;
    border-radius: 16px !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: none !important;
    gap: 10px !important;
    max-width: 100% !important;
  }

  .hp-audit-input {
    border-radius: 50px !important;
    border: 1.5px solid var(--border) !important;
    text-align: center !important;
  }

  .hp-audit-btn {
    border-radius: 50px !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 15px 24px !important;
  }

  .hp-audit-badges {
    gap: 8px !important;
  }

  .hp-audit-badge {
    font-size: 12px !important;
    padding: 7px 13px !important;
  }
}


/* Footer — двете колони услуги свързани с линия */
.footer-srv-col {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px !important;
}

.footer-links--cont { margin-top: 31px; }

@media (max-width: 991px) {
  .footer-links--cont { margin-top: 0; }
}


/* ============================================================
   VIBER — floating бутон
============================================================ */
.viber-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b6df5 0%, #7360f2 100%);
  box-shadow: 0 6px 24px rgba(115,96,242,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.viber-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(115,96,242,.6);
}

.viber-float .fa-viber {
  font-size: 30px;
  color: #fff;
  position: relative;
  z-index: 2;
  line-height: 1;
}

/* Пулсиращи пръстени */
.viber-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(115,96,242,.35);
  animation: viber-ring 2.4s ease-out infinite;
  z-index: 1;
}

.viber-pulse--2 {
  animation-delay: 1.2s;
}

@keyframes viber-ring {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.9); opacity: 0;  }
}


/* ============================================================
   HERO — сертификати под визуала
============================================================ */
.hero-certs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 480px;
}

.hero-cert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.hero-cert:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-1px);
}

.hc-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.hc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hc-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.hc-text span {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
}

@media (max-width: 991px) {
  .hero-certs {
    justify-content: center;
    flex-wrap: wrap !important;
    max-width: 100% !important;
    margin-top: 24px;
  }
  .hero-cert { flex: 0 0 auto; }
}
