:root {
  --navy-950: #0a0f1f;
  --navy-900: #10182c;
  --navy-800: #182444;
  --navy-700: #23315c;
  --cyan-400: #4a5cf0;
  --cyan-300: #93a4ff;
  --ink-900: #0f172a;
  --ink-600: #4a5468;
  --ink-400: #8993a8;
  --paper: #f7f8fc;
  --white: #ffffff;
  --border: #e6e9f2;
  --success-500: #17a768;
  --radius: 16px;
  --shadow-md: 0 14px 32px -16px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 30px 70px -24px rgba(15, 23, 42, 0.24);
  --shadow-sm: 0 2px 6px -2px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--navy-950);
}

p { color: var(--ink-600); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, #5b6cf3, var(--cyan-400));
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(74, 92, 240, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(74, 92, 240, 0.6), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
}
.logo-img { height: 30px; width: auto; display: block; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--cyan-300); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.header-phone svg { flex-shrink: 0; color: var(--cyan-300); }
.header-phone:hover { color: var(--white); }

.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: var(--white);
  padding: 108px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  mix-blend-mode: luminosity;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,30,0.55), var(--navy-900) 92%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(74,92,240,0.3), transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  color: var(--cyan-300);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--cyan-400); }
.hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 26px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  flex-wrap: wrap;
}
.hero-stats li { display: flex; align-items: flex-start; gap: 10px; }
.hero-stats li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background-color: rgba(23, 167, 104, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%2317a768' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { color: var(--white); font-size: 1.15rem; font-family: 'Poppins', sans-serif; }
.hero-stats span { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* Stat banner */
.stat-banner {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  padding: 84px 0;
  overflow: hidden;
}
.stat-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,15,30,0.92), rgba(13,21,38,0.78));
}
.stat-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  text-align: left;
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--cyan-400);
  margin: 0 0 6px;
  line-height: 1;
}
.stat-text {
  color: rgba(255,255,255,0.86);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-eyebrow {
  color: var(--navy-700);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 640px; }
.section-lead { max-width: 620px; font-size: 1.02rem; margin-bottom: 48px; }

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

/* Offer cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(74,92,240,0.25); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--cyan-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: 0.94rem; margin: 0; }

/* Industry grid */
.industry {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.industry:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.industry-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.industry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.industry:hover .industry-photo img { transform: scale(1.05); }
.industry-body {
  padding: 20px 22px 22px;
}
.industry-tag {
  display: block;
  width: fit-content;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-950);
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan-400);
}
.industry-body p { margin: 0; font-size: 0.94rem; line-height: 1.6; max-width: 34ch; }

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.why-image {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }

.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.why-list li { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.why-list li:last-child { padding-bottom: 0; }
.why-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, var(--border), transparent);
}
.why-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.why-list h4 { margin: 0 0 4px; font-size: 1.02rem; }
.why-list p { margin: 0; font-size: 0.94rem; }

/* Gallery placeholders */
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px dashed rgba(255,255,255,0.25);
}
.gallery-item::before {
  content: "";
  width: 34px;
  height: 34px;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='%23ffffff' stroke-width='1.6'/%3E%3Ccircle cx='8.5' cy='10' r='1.6' stroke='%23ffffff' stroke-width='1.4'/%3E%3Cpath d='M21 16l-5.5-5-6 6-2-2L3 19' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Contact */
.contact-section { background: var(--navy-950); color: var(--white); }
.contact-section p { color: rgba(255,255,255,0.72); }
.contact-section h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cyan-300); margin-bottom: 4px; }
.contact-list a, .contact-list span { color: var(--white); font-size: 1.02rem; }

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--cyan-400); }
.contact-form .btn { margin-top: 6px; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -6px 0 0;
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.82rem !important;
  line-height: 1.5;
}
.form-note svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.4); }

.contact-form[hidden],
.form-success[hidden] { display: none !important; }
.form-success {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.form-success-icon svg { width: 26px; height: 26px; }
.form-success h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 8px;
}
.form-success p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.6); padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 0.88rem;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-contact a:hover { color: var(--cyan-300); }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--cyan-300); }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Zaufali nam - logo marquee */
.logos-section {
  padding: 44px 0 48px;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-eyebrow {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 28px;
}
.logos-marquee {
  display: flex;
  width: 100%;
  height: 34px;
  overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  height: 100%;
  animation: logos-scroll 72s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-track img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin: 0 40px;
}
.logos-track img.logo-lg { height: 52px; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}

.logos-speed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 420px;
  margin: 28px auto 0;
  padding: 0 24px;
}
.logos-speed-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-400);
  white-space: nowrap;
}
.logos-speed-label--fast { color: var(--cyan-400); }
.logos-speed-slider {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7deeb, var(--cyan-300));
  outline: none;
  cursor: pointer;
}
.logos-speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-400);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(74, 92, 240, 0.5);
  cursor: pointer;
}
.logos-speed-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan-400);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(74, 92, 240, 0.5);
  cursor: pointer;
}
.logos-speed-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7deeb, var(--cyan-300));
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero { padding: 70px 0 60px; }
  .section { padding: 64px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }

  .logos-marquee { height: 26px; }
  .logos-track img { height: 26px; margin: 0 26px; }
  .logos-track img.logo-lg { height: 40px; }
  .logos-track { animation-duration: 52s; }

  .logos-speed { max-width: 100%; gap: 10px; padding: 0 20px; }
  .logos-speed-label { font-size: 0.68rem; }
}
