/* Agencja Kreska — marketing */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #6366f1;
  --accent-2: #a855f7;
  --border: rgba(15, 23, 42, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  padding-bottom: 3rem;
}

body.is-ready {
  opacity: 1;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 249;
    background-color: var(--bg);
    pointer-events: none;
  }

  .site-header {
    position: relative;
    z-index: 250;
    background: var(--bg);
    background-color: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 62px;
    z-index: 1;
    flex-direction: column;
    padding: 2rem;
    box-sizing: border-box;
    min-height: calc(100vh - 62px);
    min-height: calc(100dvh - 62px);
    background: var(--bg);
    background-color: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: 1px solid var(--border);
    transform: translate3d(0, -110%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.hero {
  padding: clamp(3.5rem, 10vw, 6rem) 0;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(168, 85, 247, 0.1), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.85rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(99, 102, 241, 0.4);
}

.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.85rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.service {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.08));
  border-radius: 0 0 0 100%;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.service p {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.quote {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.85rem;
  border: 1px solid var(--border);
}

.quote p {
  font-size: 1.02rem;
  margin-bottom: 1rem;
  color: #334155;
}

.quote footer {
  font-size: 0.88rem;
  color: var(--muted);
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.contact-section {
  background: var(--surface);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.contact-list a {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  filter: brightness(1.05);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reduce-motion .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.demo-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.demo-strip a {
  color: var(--muted);
  text-decoration: none;
}

.demo-strip a:hover {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  padding: 1rem 1.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.stats-strip {
  padding: 0 0 2rem;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.stat-item span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), transparent);
}

.case-list {
  list-style: none;
  max-width: 720px;
}

.case-list li {
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.65rem;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}

.case-list strong {
  color: var(--text);
}

.process-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.process-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.process-list li:last-child {
  border-bottom: none;
}

.process-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.55;
  width: 2.5rem;
}

.process-list h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.process-list p {
  font-size: 0.92rem;
  color: var(--muted);
}

.container-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 1.25rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0.6rem;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.15rem 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.section-intro-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.site-footer-extended {
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.footer-brand span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-copy,
.footer-nip {
  font-size: 0.85rem;
  color: var(--muted);
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}
