:root {
  --navy: #1B1E3D;
  --turquoise: #1EC1B2;
  --bg: #ffffff;
  --text: #121212;
  --muted: #6b7280;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(27, 30, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 80px;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }
a { color: var(--navy); text-decoration: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  gap: 40px;
}
.nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.nav-list { display: flex; gap: 20px; list-style: none; margin: 0 24px 0 0; padding: 0; align-items: center; flex-wrap: nowrap; }
.nav-list .phone-cta { margin-right: 16px; }
.nav-list li { flex: 0 0 auto; }
.nav-list a { color: var(--navy); font-weight: 500; display: inline-flex; align-items: center; line-height: 1; padding: 12px 0; white-space: nowrap; }
.header-cta { flex-shrink: 0; }
.phone-cta { margin-left: 14px; display: none; }
.phone-cta .phone-link { white-space: nowrap; }
.brand img { height: 56px; }

/* Dropdown under Oferta */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > a::after { content: "▾"; font-size: 12px; color: var(--muted); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 320px; background: #fff; border: 1px solid #eef2f7; border-radius: 12px; box-shadow: var(--shadow); padding: 10px; display: none; z-index: 80; }
.dropdown a { display: block; padding: 8px 10px; color: var(--navy); border-radius: 8px; }
.dropdown a:hover { background: #ecfffd; color: var(--navy); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }

.nav-toggle { display: none; background: transparent; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px; font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 600; border: 1px solid transparent; transition: all .2s ease;
}
.btn-primary { background: var(--turquoise); color: #0b1d1a; }
.btn-primary:hover { filter: brightness(0.95); transform: translateY(-1px); }
.btn-outline { border-color: var(--turquoise); color: var(--navy); }
.btn-outline:hover { background: #ecfffd; }
.header-cta { margin-left: 24px; white-space: nowrap; }

.hero { padding: 64px 0 32px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); color: var(--navy); margin: 0 0 12px; }
.hero p { color: var(--muted); font-size: 18px; }
/* Guarantee stamp for hero */
.guarantee-stamp { display: inline-block; margin-top: 10px; background: var(--turquoise); color: #0b1d1a; padding: 8px 14px; border-radius: 999px; font-weight: 800; letter-spacing: .02em; box-shadow: var(--shadow); transform: rotate(-2deg); }
/* Guarantee stamp for hero */
.guarantee-stamp { display: inline-block; margin-top: 10px; background: var(--turquoise); color: #0b1d1a; padding: 8px 14px; border-radius: 999px; font-weight: 800; letter-spacing: .02em; box-shadow: var(--shadow); transform: rotate(-2deg); }
.guarantee-main { margin: 14px 0 10px; padding: 12px 16px; border: 1px solid #d1fae5; background: #f0fdf9; color: #065f46; border-radius: 12px; box-shadow: var(--shadow); }
.guarantee-main strong { font-weight: 800; color: var(--navy); }
.guarantee-main .fineprint { display: block; font-size: 13px; color: #10b981; margin-top: 6px; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; }
/* Fullscreen hero + parallax */
.hero-full {
  min-height: 100vh;
  background-image: linear-gradient(180deg, rgba(27,30,61,.70), rgba(27,30,61,.30)), var(--hero-bg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero-full .hero-inner { grid-template-columns: 1fr; }
.hero-full h1 { font-size: clamp(42px, 7vw, 80px); color: #fff; }
.hero-full p { color: #e5e7eb; font-size: clamp(18px, 2.5vw, 22px); }
.hero-full .btn-primary { background: var(--turquoise); color: #0b1d1a; }
.parallax { background-attachment: fixed; }

/* Page hero banners */
.page-hero {
  min-height: 56vh;
  background-image: linear-gradient(180deg, rgba(27,30,61,.65), rgba(27,30,61,.25)), var(--hero-bg);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  display: grid; place-items: center;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(36px, 6vw, 64px); margin: 0; }

/* Microinteractions */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .2s ease; }
.btn:active::after { opacity: .15; background: #000; }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(27,30,61,.14); }
.nav-list a { position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--turquoise); transition: width .25s ease; }
.nav-list a:hover::after { width: 100%; }

/* Typography scale */
h1 { letter-spacing: -0.02em; }
h2 { letter-spacing: -0.01em; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); }
.card h3 { font-size: clamp(18px, 2.4vw, 22px); }
.chips { margin-top: 16px; }
.chips-label { color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #e5e7eb; background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 12px; font-weight: 600; cursor: pointer; }
.chip:hover, .chip.active { background: #ecfffd; border-color: var(--turquoise); }
.guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.guarantee .badge { display: flex; align-items: center; gap: 8px; background: #f0fdf9; border: 1px solid #d1fae5; color: #065f46; padding: 10px 12px; border-radius: 12px; }
.guarantee .label { font-weight: 600; color: var(--navy); }
.guarantee .counter { font-weight: 700; font-size: 20px; color: #065f46; }
.guarantee small { color: #10b981; font-weight: 600; }

.section { padding: 80px 0; }
.section h2 { font-size: 32px; color: var(--navy); margin: 0 0 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* Divider */
.divider { height: 56px; background: linear-gradient(135deg, #ecfffd, #ffffff); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%); margin-bottom: -28px; }

/* Trust */
.trust-label { color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-bottom: 10px; }
.logo-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo-pill { display: flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; border-radius: 999px; padding: 10px 12px; color: var(--navy); background: #fff; box-shadow: var(--shadow); font-weight: 600; }
.certs { display: flex; gap: 12px; margin-top: 14px; }
.cert { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 999px; padding: 8px 12px; color: var(--muted); font-weight: 600; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.stat-number { font-size: 28px; color: var(--navy); font-weight: 700; }
.live-counters { display: flex; gap: 24px; margin-top: 18px; color: var(--muted); }

/* CTA banner */
.cta-banner { background: linear-gradient(145deg, #ecfffd, #ffffff); text-align: center; }
.cta-banner h2 { font-size: 28px; margin-bottom: 8px; }
.cta-banner p { color: var(--muted); margin-bottom: 14px; }

/* Clients / case studies */
.clients .cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.case-body { padding: 16px; }
.case h3 { margin: 0 0 8px; color: var(--navy); }
.case ul { margin: 0 0 12px; padding-left: 18px; }

/* Slider testimonials */
.slider { position: relative; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateX(20px); transition: opacity .5s ease, transform .5s ease; z-index: 1; pointer-events: none; touch-action: pan-y; }
.slide.active { opacity: 1; transform: translateX(0); position: relative; z-index: 1; pointer-events: auto; }
.slider-controls { display: flex; gap: 8px; justify-content: center; margin-top: 12px; position: relative; z-index: 10; }
.slider-controls button { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 8px 12px; touch-action: manipulation; cursor: pointer; }

.services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; color: var(--navy); }
.card p { margin: 0 0 12px; color: var(--muted); }
.features { list-style: none; padding: 0; margin: 0 0 18px; }
.features li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--turquoise); }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.portfolio figure { margin: 0; }
.portfolio figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }

.pricing .price-hint { background: #f8fafc; border: 1px dashed #e5e7eb; border-radius: var(--radius); padding: 22px; }
.pricing ul { margin: 0; padding-left: 18px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonials blockquote { margin: 0; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef2f7; }
.testimonials footer { color: var(--muted); margin-top: 8px; }

.contact-list { list-style: none; padding: 0; margin: 14px 0; }
.contact-list li { margin-bottom: 6px; }
.contact-form { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-field input, .form-field textarea { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 15px; }
.form-field label { font-weight: 600; margin-bottom: 6px; color: var(--navy); }

.site-footer { border-top: 1px solid #0f122b; padding: 28px 0 100px; background: var(--navy); color: #ecfffd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand img { height: 58px; }
.footer-brand { padding: 8px 10px; border-radius: 12px; background: rgba(236,255,253,.06); display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.footer-meta p { margin: 4px 0; color: #cbd5e1; }

/* New footer layout */
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; align-items: flex-start; }
.footer-slogan { color: #cbd5e1; margin-top: 6px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-links a {
  color: #ecfffd; text-decoration: none; display: inline-block;
  font-size: 16px; line-height: 24px; padding: 10px 12px; border-radius: 8px;
  background: rgba(236,255,253,0.04); border: 1px solid rgba(236,255,253,0.12);
  transition: background .2s ease, border-color .2s ease, transform .08s ease;
}
.footer-links a:hover { background: rgba(236,255,253,0.10); border-color: #1EC1B2; color: #ecfffd; }
.footer-links a:active { transform: scale(0.98); }
.footer-links a:focus-visible { outline: 2px solid #1EC1B2; outline-offset: 2px; }
.guarantee-card { background: rgba(236,255,253,.06); border: 1px solid #1EC1B2; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.guarantee-card strong { display: block; color: #ecfffd; font-weight: 800; }
.guarantee-card .fineprint { display: block; font-size: 13px; color: #a7f3d0; margin: 6px 0 10px; }
.footer-bottom { margin-top: 16px; color: #cbd5e1; font-size: 14px; }

/* Footer CTA visibility */
.site-footer .btn-primary, .footer-cta.btn-primary {
  background: linear-gradient(135deg, #1fd0c0 0%, #15a99a 100%);
  color: #0b1d1a;
  border: 1px solid #12a596;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 15px;
  padding: 12px 22px; 
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(30,193,178,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.site-footer .btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 16px 32px rgba(30,193,178,.45);
}
.site-footer .btn-primary:active { 
  transform: translateY(0) scale(0.98); 
  box-shadow: 0 8px 20px rgba(30,193,178,.28);
}
.site-footer .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.25), rgba(255,255,255,0.0));
  transform: skewX(-20deg);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.site-footer .btn-primary:hover::before {
  transform: translateX(300%) skewX(-20deg);
  opacity: 1;
}
.site-footer .btn-primary:disabled { cursor: not-allowed; opacity: .65; box-shadow: none; }
.site-footer .btn-outline { border-color: #ecfffd; color: #ecfffd; }
.site-footer .btn-outline:hover { background: rgba(236,255,253,.08); }

/* Button arrow icon in footer CTA */
.site-footer .btn-primary { gap: 10px; }
.site-footer .btn .btn-arrow { 
  width: 18px; height: 18px; 
  flex-shrink: 0; 
  color: currentColor; 
  transition: transform .25s ease; 
}
.site-footer .btn:hover .btn-arrow { transform: translateX(4px); }

/* Accessibility focus */
.site-footer a:focus-visible, .site-footer .btn:focus-visible {
  outline: 2px solid #1EC1B2; outline-offset: 2px; border-radius: 8px;
}

/* Footer responsive */
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-links { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } .footer-links { grid-template-columns: 1fr; } .footer-links a { font-size: 17px; padding: 12px 14px; } }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .footer-links a, .site-footer .btn { transition: none; }
}

/* Modern Professional Footer */
.site-footer { 
  background: var(--navy); 
  color: #ecfffd; 
  padding: 60px 0 30px; 
  border-top: 1px solid rgba(30, 193, 178, 0.2);
}

.footer-main { 
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1.4fr; 
  gap: 40px; 
  margin-bottom: 40px; 
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img { 
  height: 48px; 
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline { 
  color: #cbd5e1; 
  font-size: 16px; 
  font-style: italic; 
  margin: 0;
}

.footer-about {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.footer-contact-item a {
  color: #ecfffd;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-contact-item a:hover { color: var(--turquoise); }

.footer-section h4 {
  color: #ecfffd;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: 4px 0;
}

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

/* Mini-menu underline effect */
.footer-menu a { position: relative; }
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--turquoise);
  transition: width .25s ease;
}
.footer-menu a:hover::after { width: 24px; }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(236,255,253,0.08);
  border: 1px solid rgba(236,255,253,0.22);
  border-radius: 12px;
  color: #cbd5e1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  box-shadow: inset 0 0 0 1px rgba(27,30,61,.2);
}

.social-link:hover {
  background: var(--turquoise);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(30,193,178,.28);
}

/* Footer form */
.footer-form { margin-top: 6px; }
.footer-form .form-row {
  display: flex;
  gap: 12px;
}
.footer-form input[type="email"] {
  flex: 1;
  border: 1px solid #2a315e;
  background: rgba(236,255,253,0.06);
  color: #ecfffd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}
.footer-form input::placeholder { color: #94a3b8; }
.footer-form .btn { 
  white-space: nowrap; 
  border-radius: 10px; 
}
.footer-form-note {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 8px;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.footer-divider {
  height: 1px;
  background: rgba(236, 255, 253, 0.2);
  margin: 0 0 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
}

.footer-copyright {
  margin: 0;
}

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

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--turquoise);
}

/* Footer Responsive */
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-form .form-row { flex-direction: column; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Footer CTA refinements (visibility + size) */
.footer-cta-row { margin-top: 20px; }
.footer-cta-row .btn { 
  gap: 10px; min-height: 44px; font-size: 16px; border-radius: 12px;
}
.btn-footer-primary { 
  color: #081a17; padding: 12px 18px; 
}
.btn-footer-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s ease;
}
.btn-footer-primary:active::before { opacity: .12; background: #000; }
.btn-footer-outline { padding: 12px 18px; }

/* Responsywność — dopracowane odstępy */
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer { padding: 44px 0 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer::before { animation: none; }
}

/* Footer styles removed: hide all footer-related components */
.site-footer,
[class^="footer-"],
.btn-footer-primary,
.btn-footer-outline {
  display: none !important;
}

/* Form status messages */
.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-status.success {
  background: #e6ffed;
  border: 1px solid #86efac;
  color: #064e3b;
}
.form-status.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

/* Phone CTA inherits primary button styling */
.phone-cta .phone-link {
  /* Inherits .btn + .btn-primary for identyczny wygląd jak „Zamów stronę” */
}

/* Mobile nav adjustment for phone CTA */
#primary-nav.show .phone-cta { margin-top: 0.5rem; }

/* Slider testimonials */
.slider { position: relative; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateX(20px); transition: opacity .5s ease, transform .5s ease; z-index: 1; pointer-events: none; touch-action: pan-y; }
.slide.active { opacity: 1; transform: translateX(0); position: relative; z-index: 1; pointer-events: auto; }
.slider-controls { display: flex; gap: 8px; justify-content: center; margin-top: 12px; position: relative; z-index: 10; }
.slider-controls button { border: 1px solid #e5e7eb; background: #fff; border-radius: 8px; padding: 8px 12px; touch-action: manipulation; cursor: pointer; }

.services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 6px; color: var(--navy); }
.card p { margin: 0 0 12px; color: var(--muted); }
.features { list-style: none; padding: 0; margin: 0 0 18px; }
.features li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--turquoise); }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.portfolio figure { margin: 0; }
.portfolio figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; }

.pricing .price-hint { background: #f8fafc; border: 1px dashed #e5e7eb; border-radius: var(--radius); padding: 22px; }
.pricing ul { margin: 0; padding-left: 18px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonials blockquote { margin: 0; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef2f7; }
.testimonials footer { color: var(--muted); margin-top: 8px; }

.contact-list { list-style: none; padding: 0; margin: 14px 0; }
.contact-list li { margin-bottom: 6px; }
.contact-form { background: #fff; border: 1px solid #eef2f7; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-field input, .form-field textarea { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; font-size: 15px; }
.form-field label { font-weight: 600; margin-bottom: 6px; color: var(--navy); }

.site-footer { border-top: 1px solid #0f122b; padding: 28px 0 100px; background: var(--navy); color: #ecfffd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand img { height: 58px; }
.footer-brand { padding: 8px 10px; border-radius: 12px; background: rgba(236,255,253,.06); display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.footer-meta p { margin: 4px 0; color: #cbd5e1; }

/* New footer layout */
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; align-items: flex-start; }
.footer-slogan { color: #cbd5e1; margin-top: 6px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-links a {
  color: #ecfffd; text-decoration: none; display: inline-block;
  font-size: 16px; line-height: 24px; padding: 10px 12px; border-radius: 8px;
  background: rgba(236,255,253,0.04); border: 1px solid rgba(236,255,253,0.12);
  transition: background .2s ease, border-color .2s ease, transform .08s ease;
}
.footer-links a:hover { background: rgba(236,255,253,0.10); border-color: #1EC1B2; color: #ecfffd; }
.footer-links a:active { transform: scale(0.98); }
.footer-links a:focus-visible { outline: 2px solid #1EC1B2; outline-offset: 2px; }
.guarantee-card { background: rgba(236,255,253,.06); border: 1px solid #1EC1B2; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.guarantee-card strong { display: block; color: #ecfffd; font-weight: 800; }
.guarantee-card .fineprint { display: block; font-size: 13px; color: #a7f3d0; margin: 6px 0 10px; }
.footer-bottom { margin-top: 16px; color: #cbd5e1; font-size: 14px; }

/* Footer CTA visibility */
.site-footer .btn-primary, .footer-cta.btn-primary {
  background: linear-gradient(135deg, #1fd0c0 0%, #15a99a 100%);
  color: #0b1d1a;
  border: 1px solid #12a596;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 15px;
  padding: 12px 22px; 
  min-width: 220px;
  box-shadow: 0 12px 28px rgba(30,193,178,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.site-footer .btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 16px 32px rgba(30,193,178,.45);
}
.site-footer .btn-primary:active { 
  transform: translateY(0) scale(0.98); 
  box-shadow: 0 8px 20px rgba(30,193,178,.28);
}
.site-footer .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.25), rgba(255,255,255,0.0));
  transform: skewX(-20deg);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.site-footer .btn-primary:hover::before {
  transform: translateX(300%) skewX(-20deg);
  opacity: 1;
}
.site-footer .btn-primary:disabled { cursor: not-allowed; opacity: .65; box-shadow: none; }
.site-footer .btn-outline { border-color: #ecfffd; color: #ecfffd; }
.site-footer .btn-outline:hover { background: rgba(236,255,253,.08); }

/* Button arrow icon in footer CTA */
.site-footer .btn-primary { gap: 10px; }
.site-footer .btn .btn-arrow { 
  width: 18px; height: 18px; 
  flex-shrink: 0; 
  color: currentColor; 
  transition: transform .25s ease; 
}
.site-footer .btn:hover .btn-arrow { transform: translateX(4px); }

/* Accessibility focus */
.site-footer a:focus-visible, .site-footer .btn:focus-visible {
  outline: 2px solid #1EC1B2; outline-offset: 2px; border-radius: 8px;
}

/* Footer responsive */
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-links { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } .footer-links { grid-template-columns: 1fr; } .footer-links a { font-size: 17px; padding: 12px 14px; } }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .footer-links a, .site-footer .btn { transition: none; }
}

/* Modern Professional Footer */
.site-footer { 
  background: var(--navy); 
  color: #ecfffd; 
  padding: 60px 0 30px; 
  border-top: 1px solid rgba(30, 193, 178, 0.2);
}

.footer-main { 
  display: grid; 
  grid-template-columns: 1.6fr 1fr 1.4fr; 
  gap: 40px; 
  margin-bottom: 40px; 
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img { 
  height: 48px; 
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline { 
  color: #cbd5e1; 
  font-size: 16px; 
  font-style: italic; 
  margin: 0;
}

.footer-about {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.footer-contact-item a {
  color: #ecfffd;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-contact-item a:hover { color: var(--turquoise); }

.footer-section h4 {
  color: #ecfffd;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: 4px 0;
}

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

/* Mini-menu underline effect */
.footer-menu a { position: relative; }
.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--turquoise);
  transition: width .25s ease;
}
.footer-menu a:hover::after { width: 24px; }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(236,255,253,0.08);
  border: 1px solid rgba(236,255,253,0.22);
  border-radius: 12px;
  color: #cbd5e1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  box-shadow: inset 0 0 0 1px rgba(27,30,61,.2);
}

.social-link:hover {
  background: var(--turquoise);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(30,193,178,.28);
}

/* Footer form */
.footer-form { margin-top: 6px; }
.footer-form .form-row {
  display: flex;
  gap: 12px;
}
.footer-form input[type="email"] {
  flex: 1;
  border: 1px solid #2a315e;
  background: rgba(236,255,253,0.06);
  color: #ecfffd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}
.footer-form input::placeholder { color: #94a3b8; }
.footer-form .btn { 
  white-space: nowrap; 
  border-radius: 10px; 
}
.footer-form-note {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 8px;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.footer-divider {
  height: 1px;
  background: rgba(236, 255, 253, 0.2);
  margin: 0 0 30px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
}

.footer-copyright {
  margin: 0;
}

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

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--turquoise);
}

/* Footer Responsive */
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-form .form-row { flex-direction: column; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Footer CTA refinements (visibility + size) */
.footer-cta-row { margin-top: 20px; }
.footer-cta-row .btn { 
  gap: 10px; min-height: 44px; font-size: 16px; border-radius: 12px;
}
.btn-footer-primary { 
  color: #081a17; padding: 12px 18px; 
}
.btn-footer-primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s ease;
}
.btn-footer-primary:active::before { opacity: .12; background: #000; }
.btn-footer-outline { padding: 12px 18px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.active { opacity: 1; transform: none; }

/* Promo bar */
.promo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: linear-gradient(135deg, #1EC1B2 0%, #ecfffd 100%); box-shadow: 0 -8px 24px rgba(27,30,61,.12); }
.promo-inner { width: min(1100px, 92%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; }
.promo-badge { background: #0b1d1a; color: #fff; border-radius: 999px; padding: 6px 10px; font-weight: 700; font-size: 12px; margin-right: 8px; }
.promo-text { color: var(--navy); font-weight: 700; }
.promo-timer { font-weight: 700; color: var(--navy); }
.promo-cta { box-shadow: 0 6px 18px rgba(27,30,61,.18); }

/* Chat widget */
.chat-widget { position: fixed; right: 18px; bottom: 78px; z-index: 70; }
.chat-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--turquoise); color: #0b1d1a; font-size: 22px; box-shadow: var(--shadow); cursor: pointer; animation: pulse 2.2s infinite; }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: 280px; background: #fff; border: 1px solid #eef2f7; border-radius: 12px; box-shadow: var(--shadow); padding: 12px; display: none; }
.chat-widget.open .chat-panel { display: block; }
.chat-header { font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.chat-body { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-body input { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; }
.chat-note { margin-top: 8px; font-size: 12px; color: var(--muted); }

@keyframes pulse { 0%{ transform: scale(1);} 50%{ transform: scale(1.06);} 100%{ transform: scale(1);} }

/* Exit intent modal */
.modal[hidden]{ display:none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(27,30,61,.45); backdrop-filter: blur(2px); z-index: 100; }
.modal-dialog { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(520px, 92%); background: #fff; border-radius: 16px; box-shadow: 0 20px 40px rgba(27,30,61,.22); padding: 20px; text-align: center; z-index: 110; }
.modal-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; font-size: 24px; color: var(--muted); cursor:pointer; }
.modal-fineprint { margin-top: 8px; color: var(--muted); font-size: 13px; }

/* Stars rating for testimonials */
.stars { margin: 8px 0; color: #f59e0b; /* amber */ font-size: 18px; letter-spacing: 2px; }
.star-empty { opacity: .28; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .services .cards { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .logo-row { grid-template-columns: 1fr 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .clients .cases { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-list { display: none; position: absolute; right: 4%; top: 64px; background: #fff; border: 1px solid #eef2f7; border-radius: 10px; box-shadow: var(--shadow); padding: 12px; flex-direction: column; width: min(92vw, 420px); max-height: calc(100vh - 96px); overflow-y: auto; z-index: 200; }
  .nav-list.show { display: flex; }
  .header-cta { display: none; }
  .phone-cta { display: list-item; }
  .has-dropdown { position: static; }
  .has-dropdown .dropdown { position: static; width: 100%; min-width: 0; margin-top: 6px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .phone-call { display: none; }
  .services .cards { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .guarantee { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .clients .cases { grid-template-columns: 1fr; }
  .promo-inner { grid-template-columns: 1fr; gap: 6px; text-align: center; padding: 10px 0; }
}

/* Anchor offset for sticky header */
section { scroll-margin-top: 110px; }
/* Footer Pro Overhaul — premium, kontrast, wow efekt */
.site-footer {
  position: relative;
  background: radial-gradient(900px 360px at 80% -160px, rgba(30,193,178,.12), transparent 60%),
              linear-gradient(180deg, #0F122B 0%, #111827 100%);
  color: #ecfffd;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(236,255,253,0.18);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(30,193,178,.18) 0%, rgba(30,193,178,0) 60%);
  filter: blur(50px);
  opacity: .65;
  pointer-events: none;
  animation: footerGlow 12s ease-in-out infinite;
}
@keyframes footerGlow { 0% { transform: translateY(0); } 50% { transform: translateY(8px); } 100% { transform: translateY(0); } }

.footer-main { gap: 44px; margin-bottom: 44px; }

.footer-brand {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(236,255,253,0.07);
  border: 1px solid rgba(236,255,253,0.14);
  box-shadow: 0 10px 30px rgba(27,30,61,0.18);
  backdrop-filter: blur(6px);
}
.footer-brand:hover { background: rgba(236,255,253,0.10); }

.footer-section h4 { font-size: 17px; }
.footer-links a { font-size: 15px; }

.footer-divider {
  background: linear-gradient(90deg, rgba(236,255,253,0) 0%, rgba(236,255,253,0.28) 12%, rgba(236,255,253,0.28) 88%, rgba(236,255,253,0) 100%);
  margin: 0 0 34px 0;
}

.footer-bottom { color: #a1a9bb; font-size: 15px; }
.footer-legal a { color: #a1a9bb; }
.footer-legal a:hover { color: var(--turquoise); }

/* CTA pod Menu — widoczność i komfort */
.footer-cta-row { margin-top: 22px; }
.footer-cta-row .btn { min-height: 44px; font-size: 16px; }
.btn-footer-primary { color: #081a17; padding: 12px 18px; }
.btn-footer-primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s ease; }
.btn-footer-primary:active::before { opacity: .12; background: #000; }
.btn-footer-outline { padding: 12px 18px; }

/* Responsywność — dopracowane odstępy */
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer { padding: 44px 0 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer::before { animation: none; }
}

/* Footer styles removed: hide all footer-related components */
.site-footer,
[class^="footer-"],
.btn-footer-primary,
.btn-footer-outline {
  display: none !important;
}

/* Form status messages */
.form-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.form-status.success {
  background: #e6ffed;
  border: 1px solid #86efac;
  color: #064e3b;
}
.form-status.error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

/* Phone CTA button */
.phone-cta .phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
/* Mobile nav adjustment for phone CTA */
#primary-nav.show .phone-cta { margin-top: 0.5rem; }
.tech { background: linear-gradient(145deg, #ecfffd, #ffffff); }
.tech-scroller { overflow: hidden; position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.tech-scroller::before, .tech-scroller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10vw; pointer-events: none; }
.tech-scroller::before { left: 0; background: linear-gradient(to right, rgba(236,255,253,1), rgba(236,255,253,0)); }
.tech-scroller::after { right: 0; background: linear-gradient(to left, rgba(236,255,253,1), rgba(236,255,253,0)); }
.tech-track { display: inline-flex; gap: 12px; padding: 8px 0; animation: techScroll 48s linear infinite; will-change: transform; }
.tech-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--shadow); }
.tech-item { white-space: nowrap; }
.tech-item { overflow: hidden; line-height: 1.2; }
.tech-item span { display: inline-block; }
.tech-icon { width: 22px; height: 22px; flex-shrink: 0; object-fit: contain; }
@keyframes techScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 960px) { .tech-track { animation-duration: 40s; } }
@media (max-width: 720px) { .tech-track { animation-duration: 34s; gap: 10px; } }
@media (max-width: 720px) {
  .tech-item { font-size: 13px; min-height: 36px; padding: 8px 12px; gap: 8px; }
  .tech-icon { width: 18px; height: 18px; }
}
