/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F5F2;
  color: #2C3532;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
ul, ol {
  margin-left: 1.2em;
  padding-left: 1em;
}
a {
  color: #336938;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4EA748;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A3323;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
strong { font-weight: 600; }

/* BRAND COLORS & ORGANIC PALETTE */
:root {
  --primary: #14223B;
  --secondary: #63D1E6;
  --accent: #F7F8FA;
  --earth1: #BCA177;
  --earth2: #E2DED2;
  --organic-green: #4EA748;
  --organic-brown: #917657;
  --organic-sand: #F3EAD9;
  --body-text: #1C3323;
  --muted-text: #586055;
  --section-bg: #FFFFFF;
  --shadow: 0 4px 16px 0 rgba(44, 53, 50, 0.08);
  --card-radius: 18px;
}

/* UTILITY CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

/* LAYOUT FLEXPATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--organic-sand);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 310px;
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(44,53,50,0.09);
  border-left: 6px solid var(--organic-green);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADERS & NAVIGATION */
header {
  background: linear-gradient(90deg, #E2DED2 0, #F3EAD9 100%);
  box-shadow: 0 2px 8px 0 rgba(44, 53, 50, 0.03);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 30px;
}
nav > a img {
  height: 40px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0 0 0 32px;
  padding: 0;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 7px 16px;
  border-radius: 20px;
  color: var(--primary);
  background: none;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--earth2);
  color: var(--organic-green);
}
nav .btn-primary {
  margin-left: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--organic-green);
  color: #fff;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 32px;
  padding: 12px 36px;
  box-shadow: 0 2px 8px 0 rgba(44,53,50,0.09);
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.18s, color 0.12s;
  text-decoration: none;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2a8539;
  box-shadow: 0 5px 18px 0 rgba(44,93,80,0.13);
  color: #fff;
}

/* Mobile Burger */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 18px;
  color: #27442D;
  border-radius: 50%;
  box-shadow: none;
  transition: background 0.15s;
  margin-left: 16px;
  z-index: 100;
}
.mobile-menu-toggle:hover {
  background: var(--organic-sand);
}

/* MOBILE MAIN MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(240,241,237,0.96);
  z-index: 9999;
  display: none;
  transition: transform 0.25s cubic-bezier(.55,0,.38,1.2);
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  animation: mobile-slidein 0.35s cubic-bezier(.55,0,.38,1.2);
}
@keyframes mobile-slidein {
  from { transform: translateX(-100%); opacity: 0.8; }
  to   { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #27442D;
  align-self: flex-end;
  margin: 24px 36px 0 0;
  cursor: pointer;
  transition: background 0.16s;
  border-radius: 50%;
  padding: 6px 12px;
}
.mobile-menu-close:hover {
  background: var(--earth2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 0 36px;
  width: 80vw;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  color: #27442D;
  text-decoration: none;
  background: none;
  padding: 18px 0 8px 0;
  border-bottom: 1px solid var(--earth2);
  transition: color 0.15s, padding-left 0.14s;
  border-radius: 2px;
}
.mobile-nav a:hover {
  color: var(--organic-green);
  background: var(--earth2);
  padding-left: 10px;
}

/* HERO SECTIONS (index, inspiracje, porady, kontakt) */
.hero {
  background: linear-gradient(104deg, #F7F7F2 70%, #D9EEE1 100%);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 48px 0 36px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  color: var(--organic-green);
  text-shadow: 0 1px 0 #fff, 0 2px 8px rgba(76, 167, 72, 0.12);
}
.hero p {
  font-size: 1.18rem;
  color: var(--muted-text);
  margin-bottom: 24px;
  max-width: 650px;
}

/* FEATURES, OFFER, SERVICES */
.features ul, .services ul,
.inspiration-content ul, .trend-highlights ul,
.tips-grid ul, .contact-details ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 0;
}
.features ul li, .services ul li,
.inspiration-content ul li, .trend-highlights ul li, .tips-grid ul li, .contact-details ul li {
  display: flex;
  align-items: flex-start;
  background: var(--organic-sand);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 0px;
  box-shadow: 0 2px 8px 0 rgba(107, 128, 85, 0.05);
  gap: 16px;
  font-size: 1.05rem;
}
.features ul li img,
.services ul li img {
  width: 36px;
  margin-right: 12px;
  min-width: 36px;
  object-fit: contain;
}
.services span {
  color: var(--organic-brown);
  font-weight: 600;
  background: #efe8d5;
  border-radius: 10px;
  padding: 2px 8px;
  margin-left: 5px;
  font-size: 1em;
}

/* CTA SECTION */
.cta {
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 40px 0;
  background: linear-gradient(87deg, #e9ece2 70%, #f8fbe8 94%);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta h2 {
  color: var(--organic-green);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta p {
  color: var(--muted-text);
  margin-bottom: 24px;
  font-size: 1.12rem;
}
.cta .btn-primary {
  margin-top: 12px;
}

/* TESTIMONIALS */
.testimonials .testimonial-card {
  background: #FFF;
  color: #1A3323;
  border-radius: 16px;
  margin-bottom: 24px;
  border-left: 6px solid var(--organic-green);
  box-shadow: 0 6px 28px 0 rgba(44,53,50,0.07);
  font-size: 1.04rem;
}
.testimonial-card p {
  margin: 0 0 0 0;
  line-height: 1.6;
}
.testimonial-card span {
  color: var(--muted-text);
  margin-left: 12px;
}

/* CARD DESIGN */
.card {
  background: var(--organic-sand);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 7px 18px 0 rgba(44,53,50,0.14);
  transform: translateY(-3px) scale(1.017);
}

/* PAGE-SPECIFIC STYLES */
.about, .team, .thank-you, .privacy-policy, .rodo, .cookies-policy, .terms, .inspiration-content, .tips-grid, .contact-details {
  margin-bottom: 60px; 
  padding: 40px 0 40px 0;
  background: var(--section-bg); 
  border-radius: var(--card-radius); 
  box-shadow: var(--shadow);
}
.text-section {
  background: #FAF7F1;
  border-radius: 12px;
  padding: 22px 20px;
  margin-bottom: 18px;
  color: #1C3323;
  font-size: 1.05rem;
  box-shadow: 0 1px 5px 0 rgba(117,153,117,0.05);
}
.featured-tip {
  background: #E2DED2;
  border-left: 6px solid var(--organic-green);
  border-radius: 10px;
  padding: 22px 20px;
  margin-top: 18px;
  margin-bottom: 0;
  color: #213923;
  font-size: 1.07rem;
}
.trend-highlights {
  margin-top: 22px;
}
.trend-highlights h3 {
  color: var(--organic-green);
  font-size: 1.13rem;
}
.address-map {
  background: #E2DED2;
  border-radius: 9px;
  padding: 12px 17px;
  color: #284D34;
  margin-top: 10px;
  font-size: 0.99rem;
  font-style: italic;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #E2DED2 0%, #F3EAD9 100%);
  padding: 28px 0 14px 0;
  border-top: 2.5px solid #BCA17722;
  box-shadow: 0 -2px 9px 0 rgba(97,129,85, 0.02);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
  font-size: 0.97rem;
}
footer nav a {
  color: #1A3323;
  text-decoration: underline;
  padding: 2px 4px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--organic-green);
}
.footer-contact {
  color: #2C3532;
  font-size: 0.98rem;
}
.footer-contact address {
  font-style: normal;
  margin-bottom: 6px;
}

/* COOKIE BANNER AND MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #f8fbe8;
  box-shadow: 0 -3px 22px 0 rgba(44,53,50,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 24px 16px;
  z-index: 10000;
  font-size: 1.05rem;
  animation: banner-slideup 0.48s cubic-bezier(.61,0,.46,1.14);
}
@keyframes banner-slideup {
  from { transform: translateY(100%); opacity: 0.6; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  color: #284D34;
  max-width: 480px;
  line-height: 1.45;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn,
.cookie-btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.16s, box-shadow 0.15s;
}
.cookie-btn-primary {
  background: var(--organic-green);
  color: #fff;
}
.cookie-btn-primary:hover {
  background: #336938;
}
.cookie-btn {
  background: #E2DED2;
  color: #284D34;
}
.cookie-btn:hover {
  background: #BCA177;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,48,24,0.27);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.28s cubic-bezier(.51,0,.52,1.16);
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 9px 38px 0 rgba(44,53,50,0.13);
  padding: 38px 30px 30px 30px;
  max-width: 420px;
  width: 96vw;
  font-size: 1.06rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-in 0.29s cubic-bezier(.61,0,.44,1.17);
}
@keyframes cookie-modal-in {
  from { transform: translateY(64px); opacity: 0.8; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.14s;
  border-radius: 50%;
  padding: 3px 10px;
}
.cookie-modal-close:hover {
  background: var(--organic-sand);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
.cookie-category {
  background: #F6F5F2;
  border-radius: 11px;
  padding: 13px 14px 11px 14px;
  display: flex;
  align-items: center; 
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #284D34;
  cursor: pointer;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #CCC;
  border-radius: 22px;
  transition: background 0.21s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--organic-green);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
  box-shadow: 0 1px 2px 0 rgba(44,53,50,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-essential {
  color: #87946d;
  font-size: 0.96em;
  margin-left: 12px;
}

/* RESPONSIVE DESIGN: MOBILE FIRST */
@media (max-width: 1199px) {
  .container {
    max-width: 980px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 991px) {
  .container {
    max-width: 750px;
  }
  header .container { height: auto; }
  nav ul { gap: 10px; }
  nav .btn-primary { margin-left: 14px; }
  .footer-contact { font-size: 0.95rem; }
  h1, .hero h1 { font-size: 1.9rem; }
}
@media (max-width: 820px) {
  .container { max-width: 600px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; }
  header .container, .footer .content-wrapper { flex-direction: column; align-items: flex-start; }
  nav ul { display: none; }
  nav .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
  .footer-contact { font-size: 0.94rem; }
  .content-wrapper, .card-container, .content-grid, .testimonials .testimonial-cards, .features {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
  }
  .hero { padding: 30px 0 28px 0; text-align: left; }
  .hero .container { align-items: flex-start; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
  }
  .cta h2 { font-size: 1.26rem; }
  .cta { padding: 28px 0; }
  .card { padding: 20px 12px 16px 12px; }
  .features ul li, .services ul li, .inspiration-content ul li, .trend-highlights ul li, .tips-grid ul li, .contact-details ul li {
    font-size: 0.99rem;
    padding: 14px 11px;
  }
  .trend-highlights { margin-top: 14px; }
  .trend-highlights h3 { font-size: 1.01rem; }
  .content-grid, .card-container { gap: 14px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.14rem; }
  .hero h1 { font-size: 1.32rem; }
  .testimonial-card { font-size: 0.95em; }
  .footer-contact, footer nav { font-size: 0.93em; }
  .section, .about, .team, .thank-you, .privacy-policy, .rodo, .cookies-policy, .terms, .inspiration-content, .tips-grid, .contact-details {
    padding: 18px 2vw;
    margin-bottom: 32px;
  }
}

/* ANIMATIONS & MICROLEFFECTS */
.btn-primary, .cookie-btn, .cookie-btn-primary {
  transition: background 0.18s, color 0.12s, box-shadow 0.13s, transform 0.13s;
}
.btn-primary:active, .cookie-btn-primary:active {
  transform: scale(0.97);
}
.card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.995);
}

/* ADJUST FLEX WRAPS ON SECTIONS */
.features, .team, .services, .tips-grid, .inspiration-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 60px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a, button, .btn-primary, .cookie-btn, .cookie-btn-primary {
  outline: 2px solid transparent;
}
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .cookie-btn-primary:focus {
  outline: 2px solid var(--organic-green);
  outline-offset: 2px;
}

/* HIDE MOBILE MENU WHEN NOT OPEN */
@media (max-width: 768px) {
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav ul { display: flex !important; }
  nav .btn-primary { display: inline-flex !important; }
}
  