/* ============================================================
   WP Pomoc – Premium WordPress Support
   style.css
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────── */
:root {
  --bg:          #0a0f1e;
  --bg2:         #111827;
  --bg3:         #1a2236;
  --bg4:         #1e2d45;
  --border:      rgba(255,255,255,.08);
  --border2:     rgba(0,180,216,.25);

  --accent:      #00b4d8;
  --accent-h:    #0096b7;
  --accent-l:    #48cae4;
  --accent-dim:  rgba(0,180,216,.12);

  --text:        #e2e8f0;
  --text-m:      #94a3b8;
  --text-d:      #64748b;
  --white:       #ffffff;

  --green:       #10b981;
  --yellow:      #f59e0b;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow:      0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.6);
  --shadow-glow: 0 0 30px rgba(0,180,216,.18);

  --font-sans:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;

  --nav-h:       70px;
  --section-py:  100px;
  --container:   1200px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ── Google Fonts import ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; color: var(--white); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-m); }
strong { color: var(--text); font-weight: 600; }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-m);
  max-width: 680px;
  line-height: 1.75;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,180,216,.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg4); border-color: var(--border2); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 9px 18px; font-size: .875rem; border-radius: var(--radius-sm); }

/* ── Badge / Chip ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-accent { background: var(--accent-dim); color: var(--accent-l); border: 1px solid var(--border2); }
.badge-green  { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.25); }

/* ── Section Header ──────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { margin: 0 auto; max-width: 600px; font-size: 1.05rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s ease;
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { font-size: .92rem; color: var(--text-m); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s;
}
.card-link:hover { gap: 10px; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,15,30,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-m);
  transition: all .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: var(--bg3); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-m);
  transition: all .15s;
}
.nav-mobile a:hover { color: var(--white); background: var(--bg3); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,150,183,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(0,180,216,.05) 0%, transparent 50%);
  z-index: 0;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 40px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-m);
}
.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ── Service Cards Grid ──────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Process Steps ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 32px);
  right: calc(10% + 32px);
  height: 1px;
  background: var(--border);
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
}
.step h4 { margin-bottom: 8px; font-size: .95rem; }
.step p { font-size: .83rem; }

/* ── Pricing Cards ───────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all .25s ease;
}
.pricing-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.pricing-card .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin: 12px 0 4px;
}
.pricing-card .price span { font-size: 1rem; color: var(--text-m); font-weight: 400; }
.pricing-card h4 { font-size: .9rem; margin-bottom: 0; color: var(--text-m); font-weight: 500; }
.pricing-card .icon { font-size: 1.5rem; margin-bottom: 4px; }

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--border2); }
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}
.faq-trigger:hover { color: var(--accent-l); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-m);
  font-size: .95rem;
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-body { display: block; }

/* ── Feature List ─────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-m);
}
.feature-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Why Us ──────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: .9rem; }

/* ── Form ─────────────────────────────────────────────────── */
.form-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 720px;
  margin: 0 auto;
}
.form-row { display: grid; gap: 20px; }
.form-row-2 { grid-template-columns: repeat(2, 1fr); }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-control {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-control::placeholder { color: var(--text-d); }
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,.12);
}
.form-control.error { border-color: #ef4444; }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-error { font-size: .8rem; color: #f87171; display: none; }
.form-group.has-error .form-error { display: block; }
.form-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.form-check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.form-check span { font-size: .875rem; color: var(--text-m); }
.form-check a { color: var(--accent); text-decoration: underline; }
.honeypot { display: none !important; }
.form-note { font-size: .8rem; color: var(--text-d); text-align: center; margin-top: 16px; }

/* Alert */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: .9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-success { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); color: #34d399; }
.alert-error   { background: rgba(239,68,68,.12);  border: 1px solid rgba(239,68,68,.3);  color: #f87171; }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--text-d);
  padding: calc(var(--nav-h) + 24px) 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-m); transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-d); }

/* ── Hero (subpages) ─────────────────────────────────────── */
.hero-sub {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-sub-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,150,183,.07) 0%, transparent 60%);
}
.hero-sub-content { position: relative; z-index: 1; max-width: 760px; }
.hero-sub h1 { margin-bottom: 16px; }
.hero-sub .lead { margin-bottom: 32px; }
.hero-sub-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Two-col service layout ───────────────────────────────── */
.service-layout { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.service-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.sidebar-card h4 { margin-bottom: 20px; font-size: 1rem; }
.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-m);
  transition: all .15s;
  border: 1px solid transparent;
}
.sidebar-links a:hover, .sidebar-links a.active { color: var(--accent); background: var(--accent-dim); border-color: var(--border2); }
.sidebar-links a svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Problem List ─────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.problem-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.problem-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 6px; }
.problem-item h4 { font-size: .9rem; margin-bottom: 4px; }
.problem-item p { font-size: .83rem; }

/* ── Process Steps (vertical) ─────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.process-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.process-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin: 6px 0;
  min-height: 20px;
}
.process-step:last-child .process-line { display: none; }
.process-step-content { padding-top: 8px; }
.process-step-content h4 { margin-bottom: 6px; font-size: 1rem; }
.process-step-content p { font-size: .9rem; }

/* ── Results / Deliverables ───────────────────────────────── */
.deliverable-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.deliverable-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.d-icon { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.deliverable-item h4 { font-size: .9rem; margin-bottom: 4px; }
.deliverable-item p { font-size: .83rem; }

/* ── Konfigurator ─────────────────────────────────────────── */
.configurator {
  max-width: 760px;
  margin: 0 auto;
}
.config-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}
.config-progress-dot {
  height: 4px;
  flex: 1;
  background: var(--border);
  border-radius: 2px;
  transition: background .3s;
}
.config-progress-dot.active { background: var(--accent); }
/* .config-step visibility managed by Alpine x-show */
.config-step { display: block; }
.config-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}
.config-options { display: grid; gap: 12px; }
.config-option {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .2s;
  text-align: left;
}
.config-option:hover { border-color: var(--accent); background: var(--accent-dim); }
.config-option.selected { border-color: var(--accent); background: var(--accent-dim); }
.config-option-icon { color: var(--accent); flex-shrink: 0; }
.config-option-text strong { display: block; font-size: .95rem; color: var(--white); }
.config-option-text span { font-size: .83rem; color: var(--text-m); }
.config-nav { display: flex; gap: 12px; margin-top: 32px; justify-content: space-between; }
/* .config-result visibility managed by Alpine x-show */
.config-result {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.config-result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}
.config-result h3 { margin-bottom: 12px; }
.config-result p { margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Comparison table ─────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.compare-table th { color: var(--text-m); font-weight: 600; }
.compare-table td { color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--green); }
.compare-table .cross { color: var(--text-d); }

/* ── Stat boxes ───────────────────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-label { font-size: .85rem; color: var(--text-m); }

/* ── Info box ─────────────────────────────────────────────── */
.info-box {
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-box svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: .9rem; color: var(--text); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-m); margin-bottom: 10px; transition: color .15s; }
.footer-contact a:hover { color: var(--accent); }
.footer-col h5 { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .875rem; color: var(--text-m); transition: color .15s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: var(--text-d); }
.footer-bottom a { color: var(--text-m); transition: color .15s; }
.footer-bottom a:hover { color: var(--accent); }

/* ── Phone link ───────────────────────────────────────────── */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}
.phone-link:hover { color: var(--accent-l); }

/* ── Oferta page ──────────────────────────────────────────── */
.oferta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.oferta-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.oferta-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.oferta-card .card-icon { margin-bottom: 18px; }
.oferta-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.oferta-card p { font-size: .88rem; flex: 1; }
.oferta-card .card-link { margin-top: auto; padding-top: 20px; }

/* ── Pakiet cards ─────────────────────────────────────────── */
.pakiet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pakiet-card {
  background: var(--bg3);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.pakiet-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg3) 0%, rgba(0,180,216,.06) 100%);
}
.pakiet-card.featured::before {
  content: 'Popularne';
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-bottom-left-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pakiet-card h3 { margin-bottom: 8px; }
.pakiet-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin: 12px 0 4px;
  line-height: 1;
}
.pakiet-price span { font-size: 1rem; color: var(--text-m); font-weight: 400; }
.pakiet-desc { font-size: .875rem; color: var(--text-m); margin-bottom: 24px; }
.pakiet-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pakiet-feature {
  display: flex;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
}
.pakiet-feature svg { color: var(--green); flex-shrink: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-stars { color: var(--yellow); margin-bottom: 12px; font-size: 1rem; }
.testimonial-text { font-size: .9rem; color: var(--text-m); margin-bottom: 20px; line-height: 1.7; font-style: italic; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: var(--accent);
}
.testimonial-name { font-size: .875rem; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: .78rem; color: var(--text-d); }

/* ── Highlight text ───────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-m); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }

/* ── Alpine x-cloak ──────────────────────────────────────── */
[x-cloak] { display: none !important; }

/* ── Skip link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 16px;
  font-weight: 600;
  font-size: .875rem;
}
.skip-link:focus { left: 0; }

/* ── Inline SVG icons ─────────────────────────────────────── */
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

/* ── Section bg alternating ───────────────────────────────── */
.bg-alt { background: var(--bg2); }
.bg-dark { background: var(--bg); }

/* ── Table of contents / TOC link ────────────────────────── */
.toc { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc h5 { margin-bottom: 12px; font-size: .875rem; color: var(--text-m); text-transform: uppercase; letter-spacing: .04em; }
.toc ul { display: flex; flex-direction: column; gap: 8px; }
.toc ul li a { font-size: .9rem; color: var(--text-m); transition: color .15s; display: flex; align-items: center; gap: 8px; }
.toc ul li a:hover { color: var(--accent); }

/* ── Focus states (accessibility) ────────────────────────── */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-d); }

/* ========================================================
   RESPONSIVE
   ======================================================== */

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(3, 1fr); }
  .steps         { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-row     { grid-template-columns: repeat(2, 1fr); }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

@media (max-width: 900px) {
  :root { --section-py: 70px; }
  .grid-2, .grid-3, .grid-4, .grid-2.force { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .oferta-grid    { grid-template-columns: repeat(2, 1fr); }
  .pakiet-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .problem-grid   { grid-template-columns: 1fr; }
  .deliverable-list { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps          { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; --section-py: 56px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .form-card { padding: 28px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-actions { gap: 10px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row    { grid-template-columns: repeat(2, 1fr); }
  .oferta-grid  { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-section  { padding: 56px 0; }
  .sidebar-card { display: none; }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }
  .btn-lg { padding: 13px 24px; font-size: .95rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr; }
  .config-options { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}
