/* === CSS RESET & BASE === */
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 {
  scroll-behavior: smooth;
}
body {
  background: #F9F7F5;
  color: #3E2723;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #4E342E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #719463;
  outline: none;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* === COLORS & ORGANIC SHAPES === */
:root {
  --color-primary: #4E342E;
  --color-secondary: #D7CCC8;
  --color-accent: #FFD600;
  --color-forest: #719463;
  --color-moss: #A6BC7A;
  --color-clay: #C7B299;
  --color-paper-bg: #F9F7F5;
  --color-bark: #3E2723;
  --color-white: #fff;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 18px;
}
p, .text-section, .footer-copy {
  font-size: 16px;
  color: var(--color-bark);
  line-height: 1.7;
  margin-bottom: 13px;
}
strong {
  color: var(--color-primary);
}

/* === BUTTONS & CALLS TO ACTION === */
.cta-primary {
  background: linear-gradient(90deg, var(--color-moss) 0%, var(--color-forest) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 32px 18px 34px 14px/18px 36px 22px 35px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 13px 38px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.24s, transform 0.18s, box-shadow 0.23s;
  box-shadow: 0 2px 12px 0 rgba(79, 66, 50, 0.11);
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--color-forest) 0%, var(--color-moss) 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px 0 rgba(79, 66, 50, 0.17);
  color: var(--color-white);
  outline: none;
}
button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 13px 18px 17px 14px/14px 16px 16px 17px;
  padding: 10px 24px;
  margin: 4px;
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.24s, color 0.13s;
  box-shadow: 0 2px 8px 0 rgba(222, 181, 95, 0.13);
}
button:hover, button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #ffe466;
  color: #2d2003;
  outline: none;
}

/* === CONTAINER & LAYOUTS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 22px 19px 24px 16px/18px 23px 13px 34px;
  box-shadow: 0 2px 10px 0 rgba(98, 68, 54, 0.09);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 275px;
  max-width: 390px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 32px 13px 27px 17px/26px 32px 13px 24px;
  margin-bottom: 20px;
  background: var(--color-secondary);
  box-shadow: 0 3px 14px 0 rgba(120, 120, 80, 0.08);
  font-size: 17px;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: var(--color-bark);
}
.testimonial-card span {
  font-size: 15px;
  font-style: italic;
  color: var(--color-primary);
  opacity: 0.9;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === STRUCTURAL LAYOUTS === */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 19px 24px;
  background: var(--color-white);
  box-shadow: 0 2px 18px 0 rgba(85, 60, 34, 0.09);
  position: relative;
  z-index: 1002;
}
.logo {
  margin-right: 24px;
  display: flex;
  align-items: center;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 7px 17px;
  color: var(--color-primary);
  border-radius: 15px 18px 16px 10px/12px 15px 14px 16px;
  transition: background 0.21s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-forest);
  outline: none;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 6px 10px;
  border: none;
  border-radius: 50%;
  transition: background 0.15s;
  margin-left: 14px;
  z-index: 1101;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  outline: none;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(78,52,46,0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0.2,0.2,1);
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  font-size: 2rem;
  padding: 11px 22px;
  margin-top: 25px;
  margin-right: 32px;
  border-radius: 44px 15px 28px 17px;
  align-self: flex-end;
  transition: background 0.16s, color 0.19s;
  box-shadow: 0 1px 8px 0 rgba(255,214,0,0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe084;
  outline: none;
  color: #263012;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  margin: 34px 44px;
  width: 75vw;
  max-width: 340px;
}
.mobile-nav a {
  color: #fff;
  font-size: 19px;
  padding: 11px 14px;
  border-radius: 13px 19px 12px 17px/17px 12px 19px 14px;
  width: 100%;
  transition: background 0.18s, color 0.12s;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #4E342E;
}


/* === HERO === */
.hero {
  background: var(--color-moss);
  background-image:
    radial-gradient(ellipse at 85% 20%, rgba(255,214,0,0.22) 0%, transparent 80%),
    radial-gradient(circle at 12% 90%, rgba(200,173,150,0.12) 0%, transparent 78%);
  border-radius: 0 0 50px 50px/0 0 39px 32px;
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 46px 0 38px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
  gap: 16px;
  color: #fff;
}
.hero h1, .hero p {
  color: #fff;
}
.hero p {
  font-size: 19px;
}
.hero .cta-primary {
  margin-top: 18px;
}

/* === FEATURES SECTION === */
.features {
  background: var(--color-secondary);
  border-radius: 42px 38px 34px 28px/34px 38px 28px 37px;
  box-shadow: 0 2px 18px 0 rgba(157, 128, 102, 0.11);
  margin-bottom: 60px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border-radius: 22px 10px 15px 19px/18px 13px 18px 16px;
  box-shadow: 0 1px 7px 0 rgba(157, 128, 102, 0.10);
  padding: 13px 16px;
  font-size: 16px;
  min-width: 230px;
  margin-bottom: 5px;
}
.features li img {
  height: 32px;
  width: 32px;
}

/* === SERVICES SECTION (Oferta/Kategorie) === */
.services {
  background: var(--color-paper-bg);
  margin-bottom: 60px;
}
.services .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.services ul {
  list-style: disc inside;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.services li {
  background: var(--color-secondary);
  border-radius: 23px 19px 16px 23px/21px 11px 17px 24px;
  box-shadow: 0 2px 11px 0 rgba(113, 148, 99, 0.11);
  padding: 20px 17px;
  margin-bottom: 4px;
  font-size: 16px;
}

/* === CTA SECTION === */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-forest);
  border-radius: 45px 35px 40px 30px/35px 35px 28px 34px;
  box-shadow: 0 3px 14px 0 rgba(97, 121, 60, 0.13);
  margin-bottom: 60px;
  min-height: 170px;
}
.cta .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  gap: 12px;
  max-width: 680px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-primary {
  margin-top: 16px;
}

/* === TESTIMONIALS (/) === */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

/* === ABOUT PAGE === */
.about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about .text-section {
  background: var(--color-white);
  border-radius: 24px 22px 18px 26px/19px 21px 24px 18px;
  box-shadow: 0 2px 15px 0 rgba(113, 148, 99, 0.09);
  padding: 27px 20px;
  margin-top: 15px;
}

/* === CONTACT PAGE === */
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.contact .text-section {
  background: var(--color-secondary);
  border-radius: 24px 22px 18px 26px/19px 21px 24px 18px;
  box-shadow: 0 2px 15px 0 rgba(113, 148, 99, 0.06);
  padding: 28px 22px;
}
.contact ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 0;
}
.map-embed {
  background: var(--color-paper-bg);
  border-radius: 15px 34px 19px 22px/11px 28px 28px 13px;
  padding: 16px;
  margin-top: 11px;
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 1px 4px 0 rgba(79,53,24,0.06);
}


/* === LEGAL PAGES & THANK YOU === */
.legal .content-wrapper, .confirmation .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.legal .text-section, .confirmation .text-section {
  background: var(--color-secondary);
  border-radius: 21px 22px 17px 25px/19px 18px 19px 23px;
  box-shadow: 0 2px 8px 0 rgba(113, 148, 99, 0.04);
  padding: 23px 17px;
}
.legal ul, .legal ol {
  margin-left: 10px;
  padding-left: 9px;
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 48px 0 0 0/18px 0 0 0;
  margin-top: 55px;
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-white);
  font-size: 15px;
  opacity: 0.89;
  transition: color 0.16s, opacity 0.14s;
  border-radius: 10px;
  padding: 2px 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
  background: rgba(255,214,0,0.07);
  outline: none;
}
.footer-contact {
  font-size: 14px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-copy {
  margin-top: 15px;
  font-size: 13px;
  color: #d3c5ae;
}


/********************** RESPONSIVE **********************/
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .footer-logo {
    flex: 0 0 88px;
  }
}
@media (max-width: 950px) {
  .container {
    max-width: 99vw;
    padding: 0 2vw;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .container {
    padding: 0 4vw;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero, .features, .cta, .services, .testimonials, .about, .contact, .legal, .confirmation {
    padding: 30px 0;
  }
  .hero {
    min-height: 170px;
    padding: 30px 0 22px 0;
  }
  .hero .container,
  .cta .container {
    flex-direction: column!important;
    align-items: stretch!important;
    justify-content: flex-start!important;
  }
  .card-container, .content-grid, .testimonials .content-wrapper, .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-logo {
    margin-bottom: 7px;
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.01rem;
    margin-bottom: 9px;
  }
  body {
    font-size: 15px;
  }
  .card, .testimonial-card, .features li, .services li {
    min-width: 0;
    max-width: 100%;
    padding: 12px 8px;
    font-size: 15px;
  }
  .cta-primary, button, .cookie-btn {
    padding: 8px 20px;
    font-size: 15px;
  }
  .features ul {
    gap: 13px;
  }
  .footer-nav {
    gap: 5px;
  }
}

/********************** COOKIE BANNER **********************/
.cookie-banner {
  position: fixed;
  width: 100vw;
  left: 0; bottom: 0;
  z-index: 4000;
  background: rgba(255,255,255,0.975);
  color: var(--color-primary);
  box-shadow: 0 -1px 12px 0 rgba(139, 126, 98, 0.07);
  padding: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  flex-wrap: wrap;
  transition: transform 0.31s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 11px;
}
.cookie-btn.accept {
  background: var(--color-forest);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-moss);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #e6e0d3;
  color: var(--color-primary);
}

/***************** COOKIE MODAL *****************/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,40,19,0.48);
  z-index: 4200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 24px 20px 33px 17px/13px 17px 21px 24px;
  padding: 33px 26px 26px 26px;
  box-shadow: 0 7px 42px 0 rgba(50,40,19,0.13);
  min-width: 320px;
  max-width: 99vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  margin-bottom: 9px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

/***************** ORGANIC DECORATIVE SHAPES (OPTIONAL SPANS) *****************/
.organic-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.16;
  filter: blur(4px);
}

/***************** ANIMATIONS & MICRO-INTERACTIONS *****************/
.cta-primary,
button,
.cookie-btn {
  transition: background 0.26s cubic-bezier(.44,.13,.57,.27),
              color 0.19s,
              box-shadow 0.23s,
              transform 0.16s;
}
.card, .testimonial-card, .features li, .services li {
  transition: box-shadow 0.23s, transform 0.14s;
}
.card:hover, .testimonial-card:hover, .features li:hover, .services li:hover {
  box-shadow: 0 4px 20px 0 rgba(81, 130, 71, 0.17);
  transform: translateY(-2px);
}

/***************** SCROLLBAR STYLING FOR ORGANIC THEME *****************/
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-secondary);
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-moss);
  border-radius: 14px;
}

/***************** FOCUS STYLES *****************/
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/***************** EXTRAS & UTILS *****************/
.visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/***************** RETINA LOGO ADJUSTMENT *****************/
.logo img, .footer-logo img {
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
}
@media (max-width: 560px) {
  .logo img, .footer-logo img {
    height: 38px;
    max-height: 38px;
  }
}

/********************** END **********************/
