/* CSS RESET and 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #121212;
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.25em;
}
a {
  color: #121212;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #090909;
  text-decoration: underline;
  outline: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}
::-webkit-input-placeholder { color: #7a7a7a; }
::-moz-placeholder { color: #7a7a7a; }
:-ms-input-placeholder { color: #7a7a7a; }
::placeholder { color: #7a7a7a; }

/*------------------------
  TYPOGRAPHY
-------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
  margin-bottom: 0.8em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.8em;
  color: #111;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.6em;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  color: #232323;
  font-size: 1rem;
  margin-bottom: 1.4em;
}
strong, b {
  font-weight: 600;
  color: #191919;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #292929;
  border-left: 4px solid #222;
  padding-left: 14px;
  margin: 0 0 0.7em 0;
  line-height: 1.7;
}

/*------------------------
  COLORS and MONOCHROME
-------------------------*/
:root {
  --color-bg: #fff;
  --color-bg-alt: #f5f5f5;
  --color-bg-dark: #1e1e1e;
  --color-txt: #181818;
  --color-txt-light: #ececec;
  --color-primary: #121212;
  --color-secondary: #3a3a3a;
  --color-accent: #ababab;
  --color-shadow: rgba(30, 30, 30, 0.10);
  --color-border: #dddddd;
  --brand-green: #295B3A;
  --brand-lightgreen: #90BCA0;
  --brand-accent: #F7F6F0;
}

/*------------------------
  CONTAINER
-------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 16px;
  padding-left: 16px;
}

/*------------------------
  HEADER & NAVIGATION
-------------------------*/
header {
  background: #fff;
  box-shadow: 0 4px 24px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 80px;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img[alt="DuskDream Rośliny Domowe"] {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  color: #232323;
  padding: 6px 2px;
  border-radius: 3px;
  transition: background 0.15s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  color: #0c0c0c;
  background: #e6e6e6;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #111;
  color: #fff;
  padding: 0.74em 1.55em;
  font-size: 1.08rem;
  border-radius: 6px;
  box-shadow: 0 2px 12px var(--color-shadow);
  border: none;
  cursor: pointer;
  margin-left: 18px;
  display: inline-block;
  transition: background 0.21s, color 0.17s, box-shadow 0.17s;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #232323;
  color: #fff;
  box-shadow: 0 4px 22px var(--color-shadow);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #111;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
  z-index: 1101;
  border-radius: 5px;
  padding: 3px 8px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #efefef;
  color: #090909;
}

/*-------------------------
  MOBILE MENU OVERLAY
--------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #171717f7;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(.7,.3,.1,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  border: none;
  color: #ededed;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 4px;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #222;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 44px;
  margin-left: 38px;
  width: 80vw;
  max-width: 350px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 500;
  color: #e9e9e9;
  padding: 11px 7px;
  transition: color 0.17s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232323;
  color: #fff;
}

/*--------------------------
  MAIN SPACING & LAYOUT
---------------------------*/
main {
  background: #fafbfc;
  min-height: 68vh;
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
.content-wrapper {
  margin-bottom: 0;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.content-wrapper:not(:first-child) {
  margin-top: 32px;
}
.content-wrapper.text-section {
  max-width: 720px;
}

/* Card, grid, testimonial common spacing patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px var(--color-shadow);
}
.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;
  background: #f5f5f5;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 620px;
}
.testimonial-card blockquote {
  color: #181818;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (e.g. index.php) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
}
.feature-grid > div {
  background: #fafbfc;
  border-radius: 11px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 22px 18px 20px 18px;
  flex: 1 1 210px;
  min-width: 190px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 5px 20px var(--color-shadow);
}
.feature-grid img {
  width: 32px; height: 32px;
  margin-bottom: 6px;
}

/* Article Teasers (Inspiracje) */
.article-teaser {
  background: #f8f8f8;
  padding: 18px 18px 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.13s;
}
.article-teaser:hover {
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
}

/*----------------------------
  RESPONSIVE FLEXBOX LAYOUTS
-----------------------------*/
@media (max-width: 1024px) {
  .container {
    max-width: 95vw;
  }
  section {
    padding: 28px 8px;
  }
  .feature-grid > div, .card {
    min-width: 140px;
    max-width: 370px;
    padding: 17px 11px;
  }
  .content-wrapper.text-section {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding-right: 7px;
    padding-left: 7px;
  }
  header > .container {
    flex-direction: row;
    min-height: 64px;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu,
  .mobile-menu.active {
    padding-top: 6vw;
    min-width: 100vw;
    min-height: 100vh;
    align-items: flex-start;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100vw;
    font-size: 0.96em;
    padding: 13px 8px;
  }
  section {
    margin-bottom: 40px;
    padding: 20px 4px;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.65rem;}
  h2 {font-size: 1.19rem;}
  h3 {font-size: 1em;}
  .cta-btn {
    font-size: 0.95rem;
    padding: 0.62em 1em;
  }
  .feature-grid > div, .card {
    font-size: 0.97em;
    padding: 13px 7px;
  }
}

/*------------------------
  FOOTER
-------------------------*/
footer {
  background: #232323;
  color: #ededed;
  padding: 34px 0px 14px 0px;
  border-top: 1px solid #282828;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 76px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 0.97rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #ededed;
  font-size: 1em;
  padding: 2px 0;
  border-radius: 2px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: #383838;
}
footer .brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F7F6F0;
  margin-bottom: 12px;
  font-size: 1.08em;
}
footer .contact-brief img {
  height: 17px;
  width: 17px;
  margin-right: 7px;
  vertical-align: middle;
}
footer .contact-brief {
  color: #e2e2e2;
  line-height: 1.8;
}
footer .social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
}
footer .social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) brightness(0.86);
  opacity: 0.82;
  transition: filter 0.19s, opacity 0.19s;
}
footer .social-icons img:hover, footer .social-icons img:focus {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 26px 0;
    align-items: flex-start;
  }
}

/*-----------------------
  BUTTONS
------------------------*/
button,
input[type="button"],
input[type="submit"],
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.22s, color 0.19s, box-shadow 0.19s;
  outline: none;
}
button:disabled, input:disabled {
  opacity: 0.56;
  cursor: not-allowed;
}

/*---------------------------
  FORM and CONTACT DETAILS
----------------------------*/
.contact-details {
  margin-top: 25px;
  margin-bottom: 10px;
  background: #f6f6f6;
  padding: 18px 14px;
  border-radius: 11px;
  box-shadow: 0 1px 7px var(--color-shadow);
}
.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  color: #161616;
}
.contact-details img {
  height: 23px;
  width: 23px;
}

/*------------------
  UNIQUE COMPONENTS
-------------------*/
h2 + ul, h3 + ul {
  margin-bottom: 2em;
}
ul {
  margin-bottom: 1.5em;
  padding-left: 1.25em;
}
ul li {
  margin-bottom: .5em;
  color: #232323;
}
ul li:last-child {
  margin-bottom: 0;
}

/***********************************
  COOKIE CONSENT BANNER & MODAL
************************************/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #222;
  color: #F7F6F0;
  box-shadow: 0 -2px 18px #1a1a1a80;
  padding: 18px 10px 18px 30px;
  z-index: 1300;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  justify-content: space-between;
  font-size: 1em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .22s cubic-bezier(.4,0,.2,1), transform .36s cubic-bezier(.7,.3,.1,1);
}
.cookie-consent-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-consent-banner-message {
  flex: 3 1 300px;
  max-width: 530px;
  color: #fafafa;
}
.cookie-consent-banner-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1 0 auto;
}
.cookie-btn {
  background: #fff;
  color: #181818;
  border-radius: 4px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 1em;
  margin-right: 2px;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7F6F0;
  color: #111;
  box-shadow: 0 2px 8px #27272718;
}
.cookie-btn.settings {
  background: #e6e6e6;
  color: #141414;
}
.cookie-btn.reject {
  background: #282828;
  color: #fafafa;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #191919;
  color: #fff;
}

/********************************
  COOKIE SETTINGS MODAL
*********************************/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1500;
  background: rgba(32,32,32,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.4,0,.2,1);
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fafafa;
  color: #161616;
  border-radius: 13px;
  padding: 38px 28px;
  min-width: 300px;
  max-width: 96vw;
  box-shadow: 0 4px 36px rgba(33,33,33,0.19);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  font-size: 1.07em;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  border: none;
  color: #161616;
  font-size: 2em;
  cursor: pointer;
  padding: 3px 9px;
  border-radius: 3px;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ececec;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  margin-bottom: 9px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}
.cookie-modal-list-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  border-bottom: 1px solid #dedede;
  padding-bottom: 11px;
}
.cookie-modal-list-row:last-child {
  border-bottom: 0;
}
.cookie-modal-label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-status {
  font-size: 0.96em;
}
.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cecfcf;
  border-radius: 15px;
  transition: background 0.2s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: #121212;
}
.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 15px; width: 15px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s cubic-bezier(.4,0,.2,1);
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider:before {
  transform: translateX(16px);
}

/***********************
  ANIMATIONS & MICROINTERACTIONS
***********************/
.cta-btn,
button,
.card,
.feature-grid > div,
.testimonial-card,
.article-teaser,
.cookie-btn {
  transition: box-shadow 0.17s, background 0.17s, color 0.17s, transform 0.14s;
}
.card:hover,.feature-grid > div:hover,.article-teaser:hover,.testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 7px 40px 0 rgba(18,18,18,0.09);
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.97);
}

/*----------------------
  MONOCHROME ACCENTS
-----------------------*/
.feature-grid > div,
.card,
.article-teaser,
.testimonial-card,
.contact-details {
  border: 1px solid #e7e7e7;
}
.cta-btn,
button,
input[type="submit"],
input[type="button"] {
  box-shadow: 0 1px 8px 0 rgba(34, 34, 34, 0.06);
}

/********************
  PRINT
********************/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  section { margin-bottom: 20px !important; }
  body { background: #fff !important; color: #000 !important; }
}
