/* =====================================================
   Najemniczy Przewiew – NATURE_ORGANIC UI CSS
   Modern, flexbox-based, responsive, nature-themed
   Colors: earth tones, organic shapes; Fonts: Montserrat, Roboto
   ===================================================== */
/* ================= RESET & NORMALIZE ================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #e8efe3;
  color: #23475a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}
a {
  color: #23475a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #b57808;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
blockquote {
  margin: 0 0 16px 0;
  padding-left: 20px;
  border-left: 4px solid #aedc8b;
  font-style: italic;
}
/* ============= TYPOGRAPHY SCALE & HEADINGS =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23475a;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.12rem;
  color: #4f6b57;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.text-section, .content-wrapper.text-section {
  font-size: 1rem;
  color: #23475a;
}
/* ============== FLEX LAYOUT CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe9;
  border-radius: 32px;
  box-shadow: 0 3px 14px rgba(45, 67, 70, 0.06);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
    border-radius: 18px;
  }
}
/* ============== HEADER LAYOUT & STYLES =============== */
header {
  background: #f3f8f3;
  box-shadow: 0 2px 8px rgba(38,74,39,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
header img {
  height: 44px;
  border-radius: 16px 24px 20px 22px/20px 15px 18px 20px;
  background: rgba(164, 199, 92, 0.10);
  padding: 2px 8px;
  margin-right: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}
header nav a {
  padding: 7px 7px 5px 7px;
  border-radius: 9px 17px 10px 12px / 11px 11px 14px 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: none;
  color: #23475a;
  font-weight: 600;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover,
header nav a:focus {
  background: #d7e8c6;
  color: #b57808;
}
.btn-primary {
  display: inline-block;
  padding: 12px 30px 13px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 27px 18px 24px 13px/13px 30px 18px 23px;
  background: #aedc8b;
  color: #23475a;
  border: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.23s, color 0.23s, box-shadow 0.18s;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(68,118,47,0.07);
  margin-top: 12px;
  margin-bottom: 4px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #b57808;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(184,141,31,0.16);
}
/* Burger menu button (mobile) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #b57808;
  cursor: pointer;
  margin-left: 12px;
  z-index: 110;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ================= MOBILE MENU STYLES ================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #f6faee;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  box-shadow: -8px 0 38px -5px rgba(34,71,90,0.08);
  transition: transform 0.35s cubic-bezier(.70,0,.30,1);
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
  pointer-events: all;
  opacity: 1;
  transition: transform 0.33s cubic-bezier(.72,0,.27,1), opacity 0.29s;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #b57808;
  cursor: pointer;
  padding: 22px 28px 8px 0;
  margin-left: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 40px 28px 0 36px;
  margin-top: 30px;
}
.mobile-nav a {
  font-size: 1.14rem;
  padding: 9px 14px 9px 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #23475a;
  border-radius: 13px 21px 12px 17px / 11px 13px 19px 14px;
  transition: background 0.19s, color 0.19s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #aedc8b;
  color: #b57808;
}
@media (max-width:1024px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}
/* =============== MAIN FLEX LAYOUTS ================== */
/* Card & Section Layouts */
.feature-grid,
.service-grid,
.guide-list,
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid .feature-card,
.service-grid .service-card,
.guide-list .guide-card,
.blog-grid .blog-card {
  background: #ffffff;
  border-radius: 21px 41px 18px 32px/18px 22px 38px 14px;
  box-shadow: 0 4px 21px rgba(100,160,71,0.10);
  min-width: 250px;
  max-width: 310px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  padding: 24px 20px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.19s, background 0.22s;
}
.feature-card:hover, .service-card:hover, .guide-card:hover, .blog-card:hover {
  box-shadow: 0 7px 29px rgba(183, 120, 8, 0.13);
  transform: translateY(-3px) scale(1.026);
  background: #f6faee;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #ffffff;
  border-radius: 21px 41px 18px 31px/18px 22px 38px 14px;
  box-shadow: 0 4px 21px rgba(100,160,71,0.10);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-grid,
  .service-grid,
  .guide-list,
  .blog-grid,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* ========== CARDS: FEATURES, GUIDE, BLOG ============ */
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.guide-card .tags,
.blog-card .category {
  display: inline-block;
  background: #aedc8b;
  color: #23475a;
  font-size: 0.93rem;
  padding: 2px 10px 2px 10px;
  border-radius: 11px 8px 10px 10px / 7px 13px 9px 14px;
  margin-top: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
/* ================ FILTER BUTTONS ===================== */
.tags-filter,
.categories-filter {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tags-filter button,
.categories-filter button {
  padding: 7px 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 13px 21px 12px 17px / 11px 13px 19px 14px;
  background: #dcefd0;
  color: #23475a;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
}
.tags-filter button:hover,
.categories-filter button:hover {
  background: #b57808;
  color: #fff;
}
.tags-filter span,
.categories-filter span {
  color: #4c6a54;
  font-weight: 600;
  margin-right: 6px;
}
/* ================== TESTIMONIAL CARDS ================ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f6fbf5;
  box-shadow: 0 2px 13px rgba(100,160,71,0.10);
  border-radius: 19px 29px 16px 27px/17px 12px 23px 12px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 650px;
  min-width: 230px;
  flex: 1 1 230px;
  font-size: 1rem;
  color: #23475a;
  transition: box-shadow 0.16s, background 0.19s;
}
.testimonial-card:hover {
  background: #e8efe3;
  box-shadow: 0 7px 21px rgba(100,160,71,0.15);
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  font-style: italic;
  color: #1e2e1f;
  margin-bottom: 0;
}
.testimonial-card p {
  color: #23475a;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
/* ================ INPUTS & FORMS ==================== */
input[type="search"],
input[type="text"],
input[type="email"],
textarea {
  padding: 10px 16px;
  border-radius: 17px 10px 14px 12px/13px 18px 12px 19px;
  border: 1.7px solid #b3cea6;
  background: #f5faed;
  outline: none;
  font-size: 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  margin-bottom: 12px;
  width: 100%;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #aedc8b;
  box-shadow: 0 1px 6px rgba(100, 160, 71, 0.14);
}
.contact-note {
  font-size: 0.98rem;
  color: #4c6a54;
  margin-top: 8px;
  font-style: italic;
}
/* =============== PRICE BADGE ON CARDS =============== */
.service-price {
  padding: 5px 18px 4px 13px;
  background: #b57808;
  color: #fffbe9;
  border-radius: 18px 12px 14px 21px/8px 17px 19px 14px;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 6px;
  margin-bottom: 5px;
}
/* =============== FOOTER STYLE ======================= */
footer {
  background: #2c4730;
  padding: 30px 0 19px 0;
  color: #f3f8f3;
  font-size: 0.97rem;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  color: #def0db;
}
.brand-footer img {
  width: 36px;
  height: 36px;
  border-radius: 11px 12px 10px 18px/10px 12px 11px 13px;
  background: #aedc8b;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #e8efe3;
  padding: 4px 11px;
  border-radius: 8px 16px 6px 12px / 9px 6px 11px 8px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: #b57808;
  color: #fff;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .brand-footer {
    margin-bottom: 8px;
  }
}
/* =============== COOKIE BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #23475a;
  color: #f3f8f3;
  box-shadow: 0 -2px 21px rgba(34,71,90,0.12);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px;
  border-radius: 22px 22px 0 0 / 32px 32px 0 0;
  gap: 22px;
  animation: cookie-slide-in 0.55s cubic-bezier(.6,0,.2,1);
}
@keyframes cookie-slide-in {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 18px 12px 13px 12px/11px 11px 17px 14px;
  cursor: pointer;
  padding: 10px 21px;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .accept-btn {
  background: #aedc8b;
  color: #23475a;
}
.cookie-banner .accept-btn:hover { background: #b57808; color: #fff; }
.cookie-banner .reject-btn {
  background: #fffbe9;
  color: #b57808;
}
.cookie-banner .reject-btn:hover { background: #b57808; color: #fffbe9; }
.cookie-banner .settings-btn {
  background: #e8efe3;
  color: #23475a;
}
.cookie-banner .settings-btn:hover { background: #aedc8b; color: #23475a; }
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 20px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}
/* Cookie modal overlay/popup */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 69, 90, 0.74);
  z-index: 1009;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-content {
  background: #f6faee;
  padding: 32px 22px 22px 32px;
  border-radius: 29px 19px 24px 31px/17px 18px 26px 21px;
  box-shadow: 0 8px 42px rgba(36,76,51,0.18);
  max-width: 420px;
  width: 96%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-pop-in 0.46s cubic-bezier(.6,0,.4,1);
}
@keyframes modal-pop-in {
  0% {transform: scale(0.88); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 8px;
  right: 18px;
  font-size: 2rem;
  color: #b57808;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.26rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23475a;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .toggle-switch {
  width: 46px;
  height: 24px;
  background: #cfe2b6;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.22s;
}
.cookie-modal .toggle-switch.on {
  background: #aedc8b;
}
.cookie-modal .toggle-switch::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.22s, background 0.13s;
  box-shadow: 0 2px 8px rgba(130,170,76,0.10);
}
.cookie-modal .toggle-switch.on::after {
  left: 26px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 18px 12px 13px 12px/11px 11px 17px 14px;
  cursor: pointer;
  padding: 10px 21px;
  background: #aedc8b;
  color: #23475a;
  transition: background 0.19s, color 0.13s;
}
.cookie-modal .cookie-modal-actions button:hover {
  background: #b57808;
  color: #fff;
}
.cookie-modal .cookie-category .always-on {
  color: #b57808;
  font-size: 0.95rem;
  margin-left: 3px;
  font-style: italic;
}
/* =============== UTILITY + ORGANIC EFFECTS ============== */
.text-section ul li,
.text-section ol li {
  margin-bottom: 8px;
  padding-left: 6px;
}
.content-wrapper.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
}
/* Organic "blob" accent behind headings */
h1, h2, h3 {
  position: relative;
  z-index: 1;
}
h1::before, h2::before {
  content: '';
  display: block;
  position: absolute;
  left: -18px;
  top: -17px;
  width: 62px;
  height: 32px;
  background: #aedc8b;
  border-radius: 31px 47px 13px 37px/17px 12px 34px 21px;
  z-index: -1;
  filter: blur(2.2px);
  opacity: 0.23;
}
h2::before {
  width: 41px;
  height: 18px;
  top: -11px;
  left: -13px;
  opacity: 0.19;
}
/* Hide on mobile, keep for desktop only for neatness */
@media (max-width: 520px) {
  h1::before, h2::before { display: none; }
}
/* Organic border for emphasized sections */
.section {
  border: 1.1px solid #b3cea6;
  background: #fffbe9;
  box-shadow: 0 3px 14px rgba(45, 67, 70, 0.06);
}
/* =================== MEDIA QUERIES =============== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-card,
  .service-card,
  .guide-card,
  .blog-card {
    min-width: 66vw;
    max-width: 96vw;
  }
  .testimonial-card {
    min-width: 70vw;
    max-width: 96vw;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.09rem; }
  .feature-card,
  .service-card,
  .guide-card,
  .blog-card { padding: 16px 11px; }
  .section { padding: 13vw 2vw; }
  .testimonial-card { padding: 12px 6px; }
  .cookie-modal .cookie-modal-content { padding:18px 8px 13px 13px; }
}
/* =============== MICRO-INTERACTIONS & TRANSITIONS =========== */
.feature-card, .service-card, .guide-card, .blog-card, .btn-primary {
  transition: box-shadow 0.18s, transform 0.19s, background 0.22s, color 0.18s;
}
.feature-grid .feature-card:active,
.service-grid .service-card:active,
.guide-list .guide-card:active,
.blog-grid .blog-card:active,
.btn-primary:active {
  transform: scale(0.97);
}
input, button, a {
  outline: none;
  transition: box-shadow 0.14s, border-color 0.16s, color 0.14s, background 0.17s;
}
::-webkit-input-placeholder { color: #87aa72; opacity: 1; }
::-moz-placeholder { color: #87aa72; }
:-ms-input-placeholder { color: #87aa72; }
::placeholder { color: #87aa72; opacity:1; }
/* ================ THANK-YOU MESSAGE =================*/
.thank-you-message {
  font-size: 1.14rem;
  color: #23475a;
  background: #e8efe3;
  border-radius: 13px 19px 14px 16px/11px 11px 14px 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
  margin-top: 5px;
  box-shadow: 0 2px 12px rgba(100,160,71,0.07);
}
/* ================ ACCESSIBILITY & FOCUS ============== */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #aedc8b;
  outline-offset: 2px;
}
[tabindex="0"]:focus { outline: 2px solid #b57808; }
/* Prevent any grid or columns usage */
/* DO NOT USE grid-*, column-*, etc. */
/* ================= END OF NATURE_ORGANIC CSS ================= */
