:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --bg-alt: #f0ece4;
  --ink: #1a1a1a;
  --muted: #5e5e5e;
  --accent: #0f6d5e;
  --accent-light: #1a8b79;
  --surface: #ffffff;
  --surface-dark: #111312;
  --border: #dedad0;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --radius: 22px;
}

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

body {
  font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

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

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

/* Coverage Map Styles */
#zasieg {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

#zasieg .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#zasieg .section-heading {
  text-align: center;
  max-width: 720px;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  margin: 40px auto 0;
  width: min(420px, 90vw);
  max-width: 420px;
  padding: 0 24px;
}

.map-centered {
  width: min(420px, 90vw) !important;
  max-width: 420px !important;
  margin: 40px auto 0 !important;
}

.map-centered .map-wrapper {
  width: 100% !important;
}

.map-wrapper {
  position: relative;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #f0f0f0;
  border: 1px solid rgba(25, 118, 210, 0.15);
}

#zasieg .map-info {
  display: none;
}

#map {
  width: 100%;
  height: 100%;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.coverage-areas {
  fill: #e8f5ff;
  stroke: #2196F3;
  stroke-width: 2;
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
}

.coverage-areas:hover {
  fill: #2196F3;
  opacity: 0.9;
}

.map-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  text-align: center;
  align-items: center;
  max-width: 520px;
}

.coverage-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  padding: 20px;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #2196F3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-box strong {
  display: block;
  font-size: 24px;
  color: #2196F3;
  margin-bottom: 4px;
}

.stat-box span {
  display: block;
  font-size: 13px;
  color: #666;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #333;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}

.legend-color.primary {
  background: #2196F3;
}

.legend-color.secondary {
  background: #64B5F6;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-card {
  width: min(960px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.cookie-text strong {
  color: var(--ink);
  font-size: 15px;
}

.cookie-text a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .cookie-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .map-container {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    width: min(360px, 100%);
  }
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(15, 109, 94, 0.18), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(252, 208, 130, 0.4), transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(26, 139, 121, 0.2), transparent 50%);
  z-index: -2;
}

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

.section {
  padding: 90px 0;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.section::after {
  content: "";
  position: absolute;
  inset: 18px 0;
  border-radius: 28px;
  background: radial-gradient(circle at 20% 10%, rgba(15, 109, 94, 0.12), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(252, 208, 130, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .section:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  }

  .section:hover::after {
    opacity: 1;
  }
}

.section.alt {
  background: var(--bg-alt);
}

#mozliwosci {
  display: none !important;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: -12% -5% -12% -5%;
  background: url("6f29fd53-8b3a-4f43-8ccb-67fd74e0509f.png") center/cover no-repeat;
  filter: blur(16px);
  opacity: 0.38;
  transform: scale(1.08);
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(247, 245, 240, 0.8);
  border-bottom: 1px solid rgba(222, 218, 208, 0.6);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

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

.logo-mark {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
}

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

.nav a[href="#mozliwosci"] {
  display: none;
}

.nav .nav-cta {
  color: #ffffff;
}

.nav .nav-cta:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 38px;
  height: 30px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  padding: 110px 0 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('6f29fd53-8b3a-4f43-8ccb-67fd74e0509f.png');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  filter: blur(0px) brightness(1.1) contrast(1.15);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.lead {
  font-size: 1.1rem;
  color: #f5f5f5;
  margin-bottom: 28px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), 0 3px 12px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 30px rgba(15, 109, 94, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(15, 109, 94, 0.12);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.metric {
  display: block;
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.hero-card-bottom .metric {
  color: #000000;
  text-shadow: none;
}

.label {
  color: #f0f0f0;
  font-size: 0.85rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-card-bottom .label {
  color: #000000;
  text-shadow: none;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card h2 {
  font-size: 1.5rem;
}

.chips {
  list-style: none;
  display: grid;
  gap: 12px;
}

.chips li {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 109, 94, 0.1);
  font-weight: 600;
  color: var(--accent);
}

.hero-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 24px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.list-card,
.price-card,
.step,
.feature,
.testimonial {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(222, 218, 208, 0.8);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
  will-change: transform, box-shadow;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .list-card:hover,
  .price-card:hover,
  .step:hover,
  .feature:hover,
  .testimonial:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
    border-color: rgba(15, 109, 94, 0.45);
  }

  .price-card.featured:hover {
    box-shadow: 0 28px 52px rgba(15, 109, 94, 0.28);
  }
}

.card h3,
.step h3,
.feature h3 {
  margin-bottom: 10px;
}

.card p,
.step p,
.feature p {
  color: var(--muted);
}

.list-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.list-card {
  font-weight: 600;
}

.pricing {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 22px 40px rgba(15, 109, 94, 0.2);
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 10px 0 4px;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.price-features li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.small {
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step-number {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonials {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial blockquote {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: var(--radius);
  background: var(--surface-dark);
  color: #ffffff;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author strong {
  color: #222;
  font-weight: 700;
}

.review-author span {
  font-size: 0.85rem;
  color: #999;
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  max-width: 800px;
}

.calculator-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calculator-input label {
  font-weight: 600;
  color: #222;
  font-size: 0.95rem;
}

.calculator-input input,
.calculator-input select {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.calculator-input input:focus,
.calculator-input select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.calculator-input input::placeholder {
  color: #999;
}

.calculator-result {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
  margin-top: 20px;
}

.calculator-result-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.calculator-result-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.calculator-result-info {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
}

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

.contact-details {
  display: grid;
  gap: 18px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details .label {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-details .detail {
  font-weight: 600;
  color: #222;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(222, 218, 208, 0.8);
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-row .full-width {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid rgba(222, 218, 208, 0.8);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(15, 109, 94, 0.4);
  border-color: var(--accent);
}

.checkbox-group {
  border: 1px solid rgba(222, 218, 208, 0.8);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.checkbox-group legend {
  font-weight: 700;
  margin-bottom: 4px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--accent);
  font-weight: 600;
}

.form-status.error {
  color: #b0402f;
  font-weight: 600;
}

.site-footer {
  padding: 50px 0 60px;
}

.footer-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .header-inner {
    gap: 20px;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 5vw;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 80px;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.28) 45%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }

  .btn {
    transition: none;
  }
}
