/* === RESET I PODSTAWOWE STYLE === */
:root {
  --brand-green: #228B67;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-800: #27272a;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --black: #000;
  --white: #fff;
}
html { 
  scroll-behavior: smooth; 
}
html, body {
  overscroll-behavior: none;
}
body { 
  font-family: 'Poppins', sans-serif; 
  background-color: var(--zinc-950); 
  color: var(--zinc-100); 
  margin: 0; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
}
.page-wrapper {
  overflow-x: hidden;
}

/* === ANIMACJE === */
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in-up { animation: fade-in-up 0.5s ease-out forwards; opacity: 0; }
.scroll-fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.scrolled-in { opacity: 1; transform: translateY(0); }

/* === NARZĘDZIA (UTILITIES) === */
.container { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }
.section-padding { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section-padding { padding-top: 6rem; padding-bottom: 6rem; } }
.text-center { text-align: center; }
.section-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.025em; color: var(--white); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-subtitle { margin-top: 1rem; font-size: 1.125rem; line-height: 1.75; color: var(--zinc-400); max-width: 42rem; margin-left: auto; margin-right: auto; }
.section-divider { margin: 2rem auto 3rem auto; width: 6rem; }
.section-divider div { height: 4px; background-color: var(--brand-green); border-radius: 9999px; margin-bottom: 0.375rem; }

/* === HEADER === */
.header { 
  background-color: rgba(9, 9, 11, 0.8); 
  backdrop-filter: blur(4px); 
  position: sticky; 
  top: 0; 
  z-index: 1000;
  border-bottom: 1px solid var(--zinc-800);
}
.header .container { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  height: 4rem; 
}
.header-nav { display: none; }
@media (min-width: 768px) { .header-nav { display: flex; gap: 2rem; } }
.header-nav a { font-size: 0.875rem; color: var(--zinc-300); text-decoration: none; transition: color 0.2s; }
.header-nav a:hover { color: var(--white); }
.menu-button { display: block; background: none; border: none; color: var(--zinc-300); cursor: pointer; padding: 0.5rem; }
@media (min-width: 768px) { .menu-button { display: none; } }
.header-logo-container {
  height: 35px;
}
.header-logo-container img { 
  height: 100%; 
  width: auto; 
}

/* === MOBILE MENU === */
.mobile-menu-overlay { position: fixed; inset: 0; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 1001; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out; }
.mobile-menu { position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 20rem; background-color: var(--zinc-900); padding: 1.5rem; box-shadow: -10px 0 20px rgba(0,0,0,0.2); transform: translateX(100%); transition: transform 0.3s ease-in-out; z-index: 1002;}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mobile-menu-nav a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; font-size: 1.125rem; color: var(--zinc-300); text-decoration: none; border-bottom: 1px solid var(--zinc-800); transition: color 0.2s; }
.mobile-menu-nav a:hover { color: var(--brand-green); }

/* === HERO === */
.hero { 
  position: relative; 
  display: flex; 
  align-items: center;
  justify-content: flex-start; /* Domyślnie do lewej */
  overflow: hidden; 
  /* ZMIANA KLUCZOWA: Ujednolicona wysokość dla wszystkich ekranów */
  height: calc(100vh - 4rem); 
  box-sizing: border-box;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--zinc-950), rgba(9,9,11,0.7), transparent); }
.hero-content { position: relative; z-index: 10; text-align: left; max-width: 42rem; width: 100%;}
.hero-logo { display: block; max-width: 300px; width: 100%; height: auto; margin-bottom: 1.5rem; }
.hero h1 { font-size: 2.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.05em; color: var(--white); }
.hero p { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--zinc-300); }
.hero-actions { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

@media (min-width: 768px) {
  .hero-logo { max-width: 350px; margin-bottom: 2rem; }
  .hero h1 { font-size: 3.2rem; }
  .hero p { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75; }
  .hero-actions { margin-top: 2.5rem; }
}
@media (min-width: 1024px) { 
  .hero-content { max-width: 60%; }
  .hero h1 { font-size: 3.75rem; } 
}

.hero-cta-button { 
  display: inline-flex; 
  align-items: center; 
  border-radius: 9999px; 
  background-color: rgba(255, 255, 255, 0.1); 
  padding: 0.5rem; 
  font-weight: 600; 
  color: var(--white); 
  text-decoration: none; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  backdrop-filter: blur(8px); 
  border: 1px solid rgba(255, 255, 255, 0.15); 
  transition: transform 0.3s, background-color 0.3s; 
}
.hero-cta-button:hover { 
  transform: scale(1.05); 
  background-color: rgba(255, 255, 255, 0.2); 
}
.hero-cta-button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  padding: 0 1rem;
  font-size: 0.9rem;
}
@media(min-width: 640px) {
  .hero-cta-button-text { padding: 0 1.5rem 0 1rem; font-size: 1rem;}
}
.hero-cta-button .icon-wrapper { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 9999px; background-color: var(--brand-green); }
.hero-services-link { font-size: 0.875rem; font-weight: 600; color: var(--white); text-decoration: none; }

/* === POZOSTAŁE SEKCJE === */
/* ... (reszta stylów pozostaje bez zmian) ... */
.about-section { background-color: var(--zinc-900); }
.about-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-content .text-content { color: var(--zinc-200); font-size: 1.125rem; line-height: 2; }
.about-content .text-content p:not(:last-child) { margin-bottom: 1.5rem; }
.why-choose-us-grid { margin-top: 4rem; display: grid; max-width: 42rem; margin-left: auto; margin-right: auto; grid-template-columns: 1fr; gap: 4rem 2rem; }
@media (min-width: 1024px) { .why-choose-us-grid { max-width: none; grid-template-columns: 1fr 1fr; } }
.why-choose-us-item { position: relative; padding-left: 4rem; }
.why-choose-us-item .icon-container { position: absolute; left: 0; top: 0; display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 0.5rem; background-color: rgba(34, 139, 103, 0.1); border: 1px solid rgba(34, 139, 103, 0.3); }
.why-choose-us-item .icon-container svg { height: 1.75rem; width: 1.75rem; color: var(--brand-green); }
.why-choose-us-item dt { font-size: 1rem; font-weight: 600; color: var(--white); }
.why-choose-us-item dd { margin-top: 0.5rem; font-size: 1rem; line-height: 1.75; color: var(--zinc-400); margin-left: 0; }
.services-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background-color: var(--zinc-900); border: 1px solid var(--zinc-800); padding: 2rem; border-radius: 0.75rem; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.3s; }
.service-card:hover { border-color: rgba(34, 139, 103, 0.5); transform: translateY(-4px); }
.service-card h3 { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--white); }
.service-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--zinc-400); }
.infographic-section { background-color: var(--zinc-900); }
.infographic-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 640px) { .infographic-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 1024px) { .infographic-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.infographic-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.infographic-item .icon-wrapper { display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 9999px; background-color: rgba(34, 139, 103, 0.1); border: 2px solid var(--brand-green); }
.infographic-item h3 { margin-top: 1.5rem; font-size: 1.125rem; font-weight: 600; color: var(--white); }
.infographic-item p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--zinc-400); }
.mot-box { position: relative; overflow: hidden; background-color: var(--zinc-900); border: 1px solid var(--zinc-800); padding: 5rem 1.5rem; text-align: center; box-shadow: 0 10px 15px rgba(0,0,0,0.1); border-radius: 1.5rem; }
@media (min-width: 640px) { .mot-box { padding: 5rem 4rem; } }
.mot-box p { max-width: 36rem; margin: 1.5rem auto 0 auto; font-size: 1.125rem; line-height: 1.75; color: var(--zinc-300); }
.testimonials-section { background-color: var(--zinc-900); }
.testimonials-grid { margin-top: 4rem; display: grid; max-width: 42rem; grid-template-columns: 1fr; gap: 2rem; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .testimonials-grid { max-width: none; grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { display: flex; flex-direction: column; border-radius: 1rem; background-color: var(--zinc-950); border: 1px solid var(--zinc-800); padding: 2rem; }
.testimonial-card .stars { display: flex; align-items: center; gap: 0.25rem; color: #facc15; }
.testimonial-card .stars svg { height: 1.25rem; width: 1.25rem; }
.testimonial-card blockquote { margin-top: 1.5rem; color: var(--zinc-300); flex-grow: 1;}
.testimonial-card footer { margin-top: 1.5rem; }
.testimonial-card .author { font-weight: 600; color: var(--white); }
.testimonial-card .location { color: var(--zinc-400); }
.articles-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(4, 1fr); } }
.article-card { background-color: rgba(24, 24, 27, 0.5); border: 1px solid var(--zinc-800); border-radius: 0.75rem; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: flex; flex-direction: column; transition: box-shadow 0.3s; }
.article-card:hover { box-shadow: 0 0 15px rgba(34, 139, 103, 0.2); }
.article-card img { width: 100%; height: 12rem; object-fit: cover; transition: transform 0.3s; }
.article-card:hover img { transform: scale(1.05); }
.article-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.article-card-content h3 { font-size: 1.125rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.article-card-content p { color: var(--zinc-400); font-size: 0.875rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1rem; }
.article-card-content .btn { margin-top: auto; align-self: flex-start; }
.article-modal { position: fixed; inset: 0; background-color: rgba(0,0,0,0.8); z-index: 1001; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fade-in 0.2s ease-out forwards; display: none; }
.article-modal.is-open { display: flex; }
.article-modal-content { position: relative; background-color: var(--zinc-900); border: 1px solid var(--zinc-800); border-radius: 0.75rem; box-shadow: 0 10px 25px rgba(0,0,0,0.2); width: 100%; max-width: 48rem; max-height: 90vh; display: flex; flex-direction: column; animation: scale-in 0.2s ease-out forwards; }
.article-modal-header { position: relative; }
.article-modal-header img { width: 100%; height: 16rem; object-fit: cover; border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.modal-close-button { position: absolute; top: 1rem; right: 1rem; background-color: rgba(9, 9, 11, 0.5); border-radius: 9999px; padding: 0.25rem; color: var(--zinc-400); border: none; cursor: pointer; transition: color 0.2s; }
.modal-close-button:hover { color: var(--white); }
.article-modal-body { padding: 2rem; overflow-y: auto; }
.article-modal-body h2 { font-size: 1.875rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.article-modal-body .content { color: var(--zinc-300); line-height: 1.8; }
.article-modal-body .content p, .article-modal-body .content ul, .article-modal-body .content ol { margin-bottom: 1.5rem; }
.article-modal-body .content h3 { font-size: 1.25rem; font-weight: 600; color: var(--white); margin-top: 2rem; margin-bottom: 1rem; }
.article-modal-body .content ul, .article-modal-body .content ol { padding-left: 1.5rem; }
.cta-section { background-color: var(--zinc-900); }
.cta-box { position: relative; overflow: hidden; background-color: rgba(34, 139, 103, 0.9); padding: 6rem 1.5rem; text-align: center; box-shadow: 0 20px 25px rgba(0,0,0,0.1); border-radius: 1.5rem; }
@media (min-width: 640px) { .cta-box { padding: 6rem 4rem; } }
.cta-box p { max-width: 36rem; margin: 1.5rem auto 0 auto; color: var(--zinc-200); line-height: 1.75; font-size: 1.125rem; }
.cta-box-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.cta-box-actions .btn-light { background-color: var(--white); color: var(--zinc-900); }
.cta-box-actions .btn-light:hover { background-color: var(--zinc-200); }
.cta-box-actions a:last-child { color: var(--white); font-weight: 600; text-decoration: none; }
.cta-bg-shape { position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); width: 64rem; height: 64rem; z-index: -10; mask-image: radial-gradient(closest-side, white, transparent); }
.cta-bg-shape circle { fill: url(#brand-gradient); fill-opacity: 0.4; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--zinc-300); }
.contact-form input, .contact-form textarea { margin-top: 0.5rem; display: block; width: 100%; box-sizing: border-box; border-radius: 0.375rem; border: none; background-color: rgba(39, 39, 42, 0.5); padding: 0.75rem 0.875rem; color: var(--white); outline: 1px solid var(--zinc-700); transition: outline-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand-green); }
.contact-form div { margin-bottom: 1.5rem; }
.contact-map { height: 20rem; width: 100%; border-radius: 1rem; overflow: hidden; border: 2px solid var(--zinc-800); }
@media (min-width: 1024px) { .contact-map { height: 100%; } }
.contact-details-box { margin-top: 2rem; background-color: var(--zinc-900); border: 1px solid var(--zinc-800); padding: 1.5rem; border-radius: 1rem; }
.contact-details-box h3 { font-weight: 600; color: var(--white); margin-top: 0; }
.contact-details-box h3:not(:first-of-type) { margin-top: 1.5rem; }
.contact-details-box dl { margin-top: 1rem; font-size: 0.875rem; color: var(--zinc-400); }
.contact-details-box dd { margin-left: 0; }
.contact-details-box dd a { color: var(--zinc-400); text-decoration: none; transition: color 0.2s; }
.contact-details-box dd a:hover { color: var(--white); }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 0.375rem; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: opacity 0.2s; border: none; cursor: pointer; }
.btn:hover { opacity: 0.9; }
.btn-primary { background-color: var(--brand-green); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }
.btn-glass { display: inline-flex; align-items: center; gap: 0.75rem; border-radius: 9999px; background-color: rgba(255, 255, 255, 0.15); padding: 0.75rem 1.5rem; font-weight: 600; color: var(--white); text-decoration: none; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); transition: transform 0.3s, background-color 0.3s; }
.btn-glass:hover { transform: scale(1.05); background-color: rgba(255, 255, 255, 0.25); }
.whatsapp-button { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; display: inline-flex; align-items: center; gap: 0.75rem; border-radius: 9999px; background-color: #25D366; padding: 1rem 1.25rem; font-size: 1rem; font-weight: 600; color: var(--white); text-decoration: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: all 0.3s ease-in-out; opacity: 0; transform: translateY(2.5rem); pointer-events: none; }
.whatsapp-button.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.whatsapp-button:hover { transform: scale(1.05); background-color: #128C7E; }
.whatsapp-button span { display: none; }
@media (min-width: 640px) { .whatsapp-button span { display: inline; } }
.footer { background-color: var(--black); border-top: 1px solid var(--zinc-800); }
.footer .container { padding: 1.5rem 1rem; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 640px) { .footer .container { flex-direction: row; justify-content: space-between; } }
.footer p { font-size: 0.875rem; color: var(--zinc-400); margin-top: 1rem; }
@media (min-width: 640px) { .footer p { margin-top: 0; } }