/* === Dusza Rzemiosła – Minimalist Flexbox CSS === */
/* RESET & BASELINE */
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: #FFF;
  color: #221913;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
*, *::before, *::after { box-sizing: inherit; }

/* FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #4A332D; /* primary */
  font-weight: 600;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; line-height: 1.12; }
h2 { font-size: 1.7rem; margin-bottom: 16px; line-height: 1.16; }
h3 { font-size: 1.18rem; margin-bottom: 12px; line-height: 1.18; }
h4, h5, h6 { font-size: 1.08rem; margin-bottom: 8px; }

p, ul, ol, blockquote, li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #4A332D;
  line-height: 1.72;
}
strong { font-weight: 600; }

ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li { margin-bottom: 7px; }

hr { border: none; border-top: 1px solid #E8E3DA; margin: 22px 0; }

/* CONTAINERS + LAYOUT */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  background: none;
  padding: 0;
  margin: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(74, 51, 45, 0.06);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 5px 24px rgba(74,51,45,0.10);
}

.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;
  background: #F6F1EA;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px rgba(74,51,45,0.075);
  font-size: 1.02rem;
  transition: box-shadow 0.18s, border 0.18s;
  border: 1px solid transparent;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(74,51,45,0.13);
  border: 1px solid #E4DFD2;
}
.testimonial-card blockquote {
  margin-bottom: 8px;
  margin-left: 0;
  font-style: italic;
  color: #4A332D;
}
.testimonial-card strong {
  color: #4A332D;
}

/* Minimal card shadow for minimalist feel */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 11px;
  padding: 26px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 325px;
  box-shadow: 0 2px 10px rgba(74, 51, 45, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #F6F1EA;
  transition: box-shadow 0.17s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 22px rgba(161, 157, 110, 0.12);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  opacity: 0.92;
}
.features-grid h3 {
  font-size: 1.12rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #F6F1EA;
  z-index: 1003;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 26px;
}
header img {
  height: 44px;
  width: auto;
  max-width: 140px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #4A332D;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 0;
  transition: color 0.15s;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  color: #A19D6E;
  border-bottom: 2px solid #A19D6E;
}
.btn-primary {
  padding: 12px 30px;
  background: #4A332D;
  color: #fff;
  border-radius: 28px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(74,51,45,0.08);
  transition: background 0.17s, box-shadow 0.21s, color 0.18s;
  display: inline-block;
  font-weight: 500;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A19D6E;
  color: #4A332D;
  box-shadow: 0 6px 28px rgba(74,51,45,0.14);
}

/* ========== MOBILE BURGER MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #4A332D;
  padding: 4px 14px;
  cursor: pointer;
  z-index: 1004;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: none;
  color: #A19D6E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transition: transform 0.35s cubic-bezier(.8,.05,.3,1), box-shadow 0.28s;
  box-shadow: 0 2px 38px rgba(74,51,45,0.15);
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #4A332D;
  cursor: pointer;
  z-index: 2011;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A19D6E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  color: #4A332D;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.32rem;
  padding: 9px 0;
  text-decoration: none;
  width: 100%;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F1EA;
  color: #A19D6E;
}

/* Hide desktop nav on mobile, show burger button */
@media (max-width: 1024px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .mobile-menu {
    padding: 36px 12px 12px 12px;
  }
  .mobile-menu-close {
    top: 12px; right: 12px;
  }
  .mobile-nav {
    margin-top: 32px;
    gap: 16px;
  }
}

/* ========== MAIN TYPOGRAPHY & LINKS ========== */
a {
  color: #A19D6E;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #4A332D;
}
a.btn-primary {
  color: #fff;
}
.text-section a {
  color: #4A332D;
  text-underline-offset: 2px;
  border-bottom: 1px dotted #A19D6E;
}
.text-section a:hover, .text-section a:focus {
  color: #A19D6E;
  border-bottom: 1px solid #A19D6E;
}

blockquote {
  border-left: 3px solid #A19D6E;
  padding-left: 18px;
  margin-left: 0;
  color: #4A332D;
  font-size: 1.06rem;
  font-style: italic;
  background: none;
}

/* === CTA, CARDS, & BUTTONS === */
.cta, .cta-section, section.cta {
  background: #F6F1EA;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(161,157,110,0.07);
  padding: 40px 14px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

/* === FOOTER === */
footer {
  background: #FFF;
  border-top: 1px solid #F6F1EA;
  padding: 28px 0 14px 0;
  font-size: 0.92rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #A19D6E;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.13s;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #4A332D;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #88705e;
}
footer .contact-info a {
  color: #4A332D;
  text-decoration: underline;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #F6F1EA;
  color: #4A332D;
  box-shadow: 0 -2px 18px rgba(74,51,45,0.07);
  z-index: 3000;
  padding: 22px 34px 18px 34px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1rem;
  opacity: 1; pointer-events: auto;
  transition: transform 0.45s cubic-bezier(.78,.01,.35,1), opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner__text {
  flex-basis: 68vw;
  line-height: 1.65;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  min-width: 120px;
  padding: 9px 15px;
  border-radius: 22px;
  border: none;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  margin-left: 0;
}
.cookie-btn-primary {
  background: #4A332D;
  color: #fff;
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: #A19D6E;
  color: #4A332D;
}
.cookie-btn-secondary {
  background: #A19D6E;
  color: #fff;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #4A332D;
  color: #fff;
}
.cookie-btn-tertiary {
  background: transparent;
  color: #A19D6E;
  border: 1px solid #A19D6E;
}
.cookie-btn-tertiary:hover, .cookie-btn-tertiary:focus {
  background: #A19D6E;
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(74, 51, 45, 0.30);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 36px 28px 32px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 34px rgba(74,51,45,0.15);
  min-width: 311px;
  max-width: 98vw;
  width: 383px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-popup-in 0.32s cubic-bezier(.65,2,.45,1.1);
}
@keyframes cookie-popup-in {
  0% { transform: scale(0.92) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A19D6E;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #4A332D;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #A19D6E;
}

/* ========== RESPONSIVE / MOBILE ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
    padding-left: 16px;
    padding-right: 16px;
  }
  .features-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
  .features-grid > div {
    min-width: 170px;
    max-width: 95vw;
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 16px 10px;
    margin-bottom: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  header .container {
    flex-direction: row;
    gap: 15px;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 7px 12px 7px;
    font-size: 0.98rem;
    align-items: flex-start;
  }
  .cookie-banner__text {
    flex-basis: 98vw;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 7px;
  }
  .cookie-modal {
    padding: 24px 8px 20px 10px;
    width: 98vw;
    min-width: 0;
    max-width: 100vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.06rem; }
  .btn-primary, .cookie-btn {
    font-size: 0.92rem;
    padding: 8px 13px;
    min-width: 94px;
  }
  .testimonial-card, .features-grid > div {
    padding: 10px 7px;
  }
}

/* ========== MISC: MICRO-INTERACTIONS ========== */
.btn-primary, .cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.17s, outline 0.13s;
}
.btn-primary:active, .cookie-btn:active {
  box-shadow: 0 2px 12px rgba(74,51,45,0.16) inset;
  outline: none;
}
nav a:focus, .mobile-nav a:focus, footer nav a:focus, .btn-primary:focus, .cookie-btn:focus {
  outline: 2px solid #A19D6E;
  outline-offset: 2px;
}

/* ===== COLORS, SCROLLBAR, SELECT, ETC. =====*/
body {
  background: #FFF;
  color: #4A332D;
}
::-webkit-scrollbar { width: 7px; background: #F6F1EA; }
::-webkit-scrollbar-thumb { background: #E8E3DA; border-radius: 14px; }

::selection { background: #A19D6E; color: #fff; }

select, input, textarea {
  border-radius: 8px;
  border: 1px solid #E4DFD2;
  padding: 7px 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #FFF;
  color: #4A332D;
  margin-bottom: 12px;
}
select:focus, input:focus, textarea:focus{
  outline: 2px solid #A19D6E;
}

/* ========== FLEXBOX-CONSTRUCTION UTILITY CLASSES ========== */
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-start {
  align-items: flex-start;
}
.align-center {
  align-items: center;
}
j .justify-center { justify-content: center; }

/* OVERWRITE/ENSURE NO GRID/COLUMN LAYOUTS */
/* (MANDATORY) Explicitly prevent accidental grid or column use */
[class*="grid"], [class*="column"], [class^="grid-"], [class^="column-"] {
  display: flex !important;
  flex-wrap: wrap;
}

/* ====== END CSS ======= */
