:root {
  --navy: #082644;
  --navy-light: #1E3A72;
  --navy-dark: #041223;
  --beige: #082644; /* Główne ciemne tło */
  --beige-soft: #05182d; /* Nieco ciemniejsze tło dla sekcji .alt */
  --gold: #F5B301;
  --text: #e0e6ed; /* Jasny tekst w ciemnym motywie */
  --muted: #9ba6b5;
  --white: #ffffff;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--beige);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-top: 0;
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95); /* Header pozostał biały */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .25s ease;
}

.brand:hover .logo {
  transform: scale(1.04);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy); /* Ciemny tekst menu dopasowany do białego nagłówka */
  font-weight: 500;
  position: relative;
  transition: color .2s ease, transform .2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy-light);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--navy); 
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Wersja outline dla przycisków w ciemnym motywie */
.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero {
  padding: 88px 0 72px;
  background: radial-gradient(circle at 15% 20%, rgba(245, 179, 1, 0.08), transparent 40%), var(--beige);
}

.badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 7px 12px;
  letter-spacing: 1.7px;
  font-size: .73rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--gold); }
.lead { color: var(--muted); max-width: 68ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 18px; }

.hero-points {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points li {
  background: var(--card-bg);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .92rem;
  border: 1px solid var(--card-border);
  transition: transform .2s ease;
}

.hero-points li:hover { transform: translateY(-2px); }

.hero-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  transition: transform .25s ease;
}

.hero-card:hover { transform: translateY(-4px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 1.65rem;
}

.hero-stats span { color: var(--muted); font-size: .88rem; }

.section { padding: 82px 0; }
.section.alt { background: var(--beige-soft); }
.section h2 { font-size: clamp(1.7rem, 3.1vw, 2.6rem); margin-bottom: 18px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 28px;
  align-items: center;
}

.about-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  display: block;
  min-height: 360px;
  object-fit: cover;
  transition: transform .5s ease;
}

.about-photo:hover img { transform: scale(1.04); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.business-section {
  background: linear-gradient(160deg, #041223, #082644); /* Ciemny gradient */
}

.business-section h2 {
  color: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--text);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease, filter .28s ease;
}

.business-card i {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.business-card h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.business-card:hover,
.business-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 30px rgba(0,0,0,.4);
  filter: brightness(1.06);
}

.pricing-copy {
  max-width: 880px;
}

.pricing-copy p {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 0 0 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pricing-copy p:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0, .2);
}

.map-section-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.map-region-list {
  margin: 20px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.map-region-list li::marker { color: var(--gold); }

.map-wrapper {
  position: relative;
  background: var(--card-bg); /* Tło pod mapę */
  border-radius: 16px;
  border: 1px solid var(--card-border);
  padding: 16px;
  box-shadow: var(--shadow);
}

.poland-map-visual {
  position: relative;
}

#poland-map-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a { color: var(--gold); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
}

.contact-form label { display: block; margin: 10px 0 6px; font-weight: 600; color: var(--white); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(0, 0, 0, 0.2); 
  color: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 179, 1, 0.15);
}

.check { display: flex !important; gap: 10px; align-items: flex-start; margin: 14px 0 !important; font-weight: 500 !important; color: var(--text) !important; }
.check input { width: auto; margin-top: 4px; }

.alert {
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  font-size: .95rem;
}

.alert.success { background: rgba(15, 92, 44, 0.2); color: #c0e7cf; border: 1px solid #c0e7cf; }
.alert.error { background: rgba(142, 28, 20, 0.2); color: #f7cac7; border: 1px solid #f7cac7; }

.site-footer {
  background: linear-gradient(160deg, #041223, #082644);
  color: #e9eef5;
  padding: 42px 0 24px;
  border-top: 1px solid var(--card-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.footer-logo { width: 74px; border-radius: 50%; margin-bottom: 10px; }
.site-footer h3 { color: #fff; margin-bottom: 8px; }

.footer-link {
  color: #e9eef5;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.footer-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.license-info {
  margin: 22px auto 0;
  width: min(1180px, 92%);
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .92rem;
}

.copyright { margin: 18px 0 0; text-align: center; font-size: .9rem; color: rgba(255,255,255,.5); }

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--navy-dark);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform .35s ease;
  z-index: 1000;
}

.cookie-banner.show { transform: translateY(0); }

@media (max-width: 1140px) {
  .nav-links { display: none; }
  .header-consultation { display: none; }
}

@media (max-width: 1020px) {
  .hero-grid,
  .contact-grid,
  .about-grid,
  .map-section-grid { grid-template-columns: 1fr; }

  .cards-grid,
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }

  .cards-grid,
  .business-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cookie-banner { flex-direction: column; align-items: stretch; }
}

#Poland_-_Provinces {
    width: 100% !important;
    height: auto !important;
    max-width: 600px;
}

/* Dostosowanie stylów mapy do ciemnego motywu */
#Poland_-_Provinces .cls-1 {
    fill: rgba(255, 255, 255, 0.1) !important;
    stroke: #082644 !important;
    stroke-width: 1.5px !important;
    transition: fill 0.2s ease-in-out !important;
    cursor: pointer !important;
}

#Poland_-_Provinces .cls-1:hover {
    fill: var(--gold) !important;
}

#małopolskie, #świętokrzyskie, #śląskie, #podkarpackie {
    fill: rgba(255, 255, 255, 0.25) !important;
}

.footer-logo { 
  width: 74px; 
  border-radius: 50%; 
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

/* Przełamanie - dwa jasne wiersze (O nas oraz Jak działamy) */
#onas,
#wspolpraca {
  background-color: #f7f9fc; /* Jasne, przyjemne chłodne tło */
  color: #2b2b2b; /* Ciemny tekst dla kontrastu */
}

#onas h2,
#wspolpraca h2,
#wspolpraca strong {
  color: #082644 !important; /* Granatowe nagłówki w jasnych sekcjach */
}

#onas p,
#wspolpraca p {
  color: #4a5568; /* Czytelny, ciemnoszary tekst */
}

/* Stylizacja specjalnej ramki wyróżniającej w sekcji Jak działamy */
#wspolpraca .highlight-box {
  background-color: #ffffff;
  border: 1px solid rgba(8, 38, 68, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 10px 25px rgba(8, 38, 68, 0.05);
  text-align: center;
}

#wspolpraca .highlight-box i {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 12px;
}