/* =====================
    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, nav, section, article, aside, footer, header, main, figure, figcaption, details, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Lato', Arial, sans-serif;
  background: linear-gradient(135deg, #E0D9C3 0%, #fff 100%);
  color: #1A3A32;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1A3A32;
  text-decoration: none;
  transition: color 0.3s;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A3A32;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
p, li {
  font-size: 1rem;
  color: #233c33;
}
strong {
  font-weight: bold; color: #1A3A32;
}
small {
  font-size: 0.88rem;
  color: #7e7153;
}

/* =====================
     CONTAINERS & LAYOUTS
====================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 3px 18px rgba(26,58,50,0.08);
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; border-radius: 14px; background: #f8f7f2; box-shadow: 0 2px 12px rgba(26,58,50,0.04); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 220px;
  background: #faf9f6;
  box-shadow: 0 2px 8px rgba(26,58,50,0.04);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(168,127,77,0.16);
  transform: translateY(-3px) scale(1.025);
}

/* ===================
    HEADER & NAV
==================== */
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1002;
  box-shadow: 0 3px 12px rgba(26,58,50,0.035);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  padding: 20px 0;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #1A3A32;
  margin-right: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E0D9C3;
  color: #1A3A32;
  outline: none;
}
.main-nav .cta-button {
  background: linear-gradient(90deg,#A87F4D 0%,#E0D9C3 100%);
  color: #1A3A32;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 18px;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(168,127,77,0.08);
  border: none;
  letter-spacing: 0.01em;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.main-nav .cta-button:hover,
.main-nav .cta-button:focus {
  background: linear-gradient(90deg,#E0D9C3 0%,#A87F4D 100%);
  color: #1A3A32;
  box-shadow: 0 6px 22px rgba(168,127,77,0.17);
}

/* ========================
      MOBILE BURGER MENU
========================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px; right: 20px;
  z-index: 1050;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(90deg,#E0D9C3 10%,#A87F4D 90%);
  color: #1A3A32;
  border: none;
  font-size: 2rem;
  box-shadow: 0 1px 8px rgba(168,127,77,0.10);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #A87F4D;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: linear-gradient(120deg,#E0D9C3 70%,#A87F4D 100%);
  z-index: 3000;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1);
  box-shadow: 0 4px 64px rgba(26,58,50,0.25);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3A32;
  padding: 22px 24px 12px 20px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 16px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3A32;
  font-size: 1.15rem;
  padding: 14px 0;
  border-bottom: 1px solid #dfd6be;
  transition: color 0.22s, background 0.22s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #A87F4D;
  color: #fff;
}

/* Show burger only on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding: 0 0 0 0;
  }
  .mobile-nav {
    padding: 0 18px;
  }
}

/* Ensure mobile menu covers everything */
body.mobile-menu-open {
  overflow: hidden;
}

/* ====================
     BUTTON STYLES
====================== */
.cta-button {
  background: linear-gradient(90deg,#A87F4D 0%,#E0D9C3 87%);
  color: #1A3A32;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  border-radius: 9px;
  padding: 13px 28px;
  box-shadow: 0 2px 14px rgba(168,127,77,0.12);
  border: none;
  letter-spacing: 0.01em;
  margin-top: 14px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, scale 0.13s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#E0D9C3 20%,#A87F4D 100%);
  color: #1A3A32;
  scale: 1.04;
  box-shadow: 0 8px 22px rgba(168,127,77,0.19);
}
button,
input[type="button"],
input[type="submit"] {
  font-family: inherit;
  border: none;
  background: #1A3A32;
  color: #fff;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover, button:focus {
  background: #A87F4D;
  color: #fff;
  outline: none;
}

/* ============================
     TESTIMONIAL CARD STYLES
============================ */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(26,58,50,0.13);
  border-left: 6px solid #A87F4D;
  font-size: 1.04rem;
  color: #1A3A32;
  min-width: 0;
}
.testimonial-card strong {
  font-size: 1.08rem;
  color: #A87F4D;
  letter-spacing: 0.02em;
}

/* ========================
    BRAND-CONTACT & FOOTER
========================= */
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #A87F4D;
  margin: 0 2px;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #1A3A32;
}
.brand-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  margin: 22px 0 14px 0;
  font-size: 1rem;
}
.brand-contact img {
  width: 20px; height: 20px; vertical-align: middle; margin-right: 8px;
  display: inline-block;
}
footer {
  background: #1A3A32;
  color: #E0D9C3;
  padding: 42px 0 15px 0;
  text-align: center;
  margin-top: 38px;
}
footer .footer-nav {
  color: #E0D9C3;
  gap: 7px;
  margin-bottom: 14px;
}
footer .brand-contact, footer p, footer small {
  color: #E0D9C3;
}
footer a {
  color: #A87F4D;
  transition: color 0.21s;
}
footer a:hover { color: #fff; }

/* =====================
    COOKIE CONSENT BANNER
======================= */
.cookie-consent-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbea;
  color: #1A3A32;
  width: 95%;
  z-index: 3002;
  padding: 22px 10px;
  box-shadow: 0 -4px 16px rgba(168,127,77,0.09);
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  gap: 4px;
  transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1);
}
.cookie-consent-banner.hide {
  transform: translateY(210px);
}
.cookie-consent-banner-content {
  flex: 1 1 auto;
  margin-right: 20px;
  min-width: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #A87F4D;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 1rem;
  transition: background 0.25s, color 0.25s, transform 0.13s;
}
.cookie-btn.cookie-settings {
  background: #E0D9C3;
  color: #1A3A32;
  border: 1px solid #A87F4D;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7e7153;
  color: #fff;
}
.cookie-btn.cookie-settings:hover {
  background: #A87F4D;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4100;
  inset: 0;
  background: rgba(26,58,50,0.38);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1A3A32;
  border-radius: 22px;
  max-width: 94vw;
  min-width: 310px;
  width: 400px;
  padding: 38px 30px 22px 30px;
  box-shadow: 0 6px 60px rgba(26,58,50,0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  background: none;
  border: none;
  color: #A87F4D;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover {
  color: #1A3A32;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-category label {
  flex: 1 1 auto;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  margin-right: 10px;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #A87F4D;
}
.cookie-category .cookie-essential {
  color: #A87F4D;
  font-weight: 700;
}

/* ========================
    ANIMATIONS & EFFECTS
======================== */
.section,
.content-wrapper,
.card,
.feature-grid > div,
.testimonial-card {
  transition: box-shadow 0.25s, transform 0.17s, background 0.3s;
}
.cta-button, .cookie-btn {
  transition: background 0.28s, color 0.24s, box-shadow 0.28s, transform 0.15s;
}
.content-wrapper:hover, .card:hover {
  box-shadow: 0 6px 34px rgba(26,58,50,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* ========================
     RESPONSIVE DESIGN
======================== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .main-nav, .footer-nav {
    gap: 12px;
  }
  .content-wrapper {
    padding: 28px 12px;
  }
  .feature-grid {
    gap: 16px;
  }
  .footer-nav {
    font-size: 1.1rem;
  }
}
@media (max-width: 820px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.09rem; }
  .content-wrapper, .testimonial-card {
    padding: 18px 6px 18px 6px;
  }
  .feature-grid > div {
    min-width: 180px;
    padding: 17px 10px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 2vw; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 6vw;
    gap: 12px;
  }
  .brand-contact { font-size: 0.99rem; }
  .section {
    padding: 24px 2vw;
    margin-bottom: 38px;
  }
  .footer-nav { flex-direction: column; gap: 2px; font-size: 1.02rem; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .main-nav { flex-direction: column; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.06rem; }
  .container { padding: 0 5px; }
  .content-wrapper { padding: 13px 4px; }
  .section { padding: 13px 2vw; }
  .testimonial-card { padding: 10px 2vw; }
  .brand-contact { gap: 2px; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; padding: 14px 6px; gap: 10px; }
  .cookie-consent-banner-content { margin-right: 0; font-size: 0.98rem; }
  .cookie-consent-actions { width: 100%; gap: 6px; flex-direction: column; align-items: flex-start; }
  .cookie-modal { width: 95vw; padding: 24px 8px 16px 8px; font-size: 0.98rem; }
}
/* ========================
   UTILITY & ACCESSIBILITY
========================= */
[tabindex]:focus, a:focus, button:focus, input:focus {
  outline: 2px solid #A87F4D;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #7e7153; opacity: 1; }
::-moz-placeholder { color: #7e7153; opacity: 1; }
:-ms-input-placeholder { color: #7e7153; opacity: 1; }
::placeholder { color: #7e7153; opacity: 1; }

/* Hide scroll on body when modal/menu open */
body.mobile-menu-open, body.cookie-modal-open { overflow: hidden; }

/* =======================
 END OF Głębia Designu CSS
========================== */
