/* ==========================================================  
   Kawa Warta Smaku | MODERN_BOLD FLEXBOX CSS    
   ==========================================================  
   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,
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 {  font-size: 16px;  }
body {  line-height: 1.5;  background: #F8F7F3; color: #37251B; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol { 
  margin-left: 24px; 
  margin-bottom: 1.35em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #BFA180;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
a:focus, a:hover {
  color: #37251B;
  text-decoration: underline;
}
img {
  max-width: 100%;  height: auto;  display: block;
}
button {
  font-family: inherit; font-size: inherit;
  background: none; border: none; outline: none;
  cursor: pointer;
}

/* ==========================================================  
   BRAND TYPOGRAPHY & MODERN BOLD HIERARCHY                    
   ========================================================== */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900|Open+Sans:400,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  background: #F8F7F3;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: -.01em;
  color: #37251B;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.18; }
h2 { font-size: 2rem; line-height: 1.2; margin-top: 24px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.17rem; }
strong, b {
  font-weight: 900;
}
p, ul, ol, blockquote {
  font-size: 1.13rem; line-height: 1.75;
  color: #37251B;
  margin-bottom: 1.3em;
}
blockquote {
  padding: 24px;
  background: #fff;
  border-left: 5px solid #BFA180;
  margin: 32px 0;
  border-radius: 12px;
  font-style: italic;
  color: #37251B;
  font-size: 1.1rem;
}
small { font-size: .92rem; }

/* ==========================================================  
   COLOR VARIABLES & GEOMETRIC ACCENTS                         
   ========================================================== */
:root {
  --color-primary: #37251B;
  --color-secondary: #BFA180;
  --color-accent: #F8F7F3;
  --color-white: #fff;
  --color-error: #d12a28;
  --color-success: #35bf73;
  --box-shadow: 0 3px 24px 0 rgba(55,37,27,0.10);
  --box-shadow-hover: 0 4px 28px 0 rgba(55,37,27,0.21);
  --radius: 18px;
  --transition: 0.20s cubic-bezier(.55,.09,.68,.53);
}

/* ==========================================================  
   GENERIC CONTAINERS, SPACING, FLEX LAYOUT PATTERNS           
   ========================================================== */
.container {
  width: 100%;  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Flex utility patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-4px) scale(1.03);
}
.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;
}
/* Testimonials (critical contrast!) */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #37251B;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  padding: 20px 28px;
  min-width: 0;
}
.testimonial-card p {
  margin-bottom: 0;
  font-weight: 700;
  font-style: italic;
  font-size: 1.13rem;
  color: #37251B;
}
.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-left: 24px;
}
.testimonial-info strong {
  font-size: 1.05rem;
  color: #37251B;
  font-family: 'Open Sans', sans-serif;
}
.testimonial-info img {
  width: 24px; height: 24px;
  display: inline-block;
  margin-right: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.cta-banner {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 38px 16px 32px 16px;
  text-align: center;
  margin: 18px 0 18px 0;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  margin: 20px 0 32px 0;
}

/* ==========================================================  
   HEADER + NAVIGATION + HERO                                  
   ========================================================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--color-secondary);
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #37251B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.08rem;
  letter-spacing: .09em;
  position: relative;
  padding: 5px 6px;
  border-radius: 6px;
  transition: background 0.16s;
}
.main-nav a:focus, .main-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff!important;
  text-transform: uppercase;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: .08em;
  padding: 14px 28px;
  border: none;
  border-radius: 40px;
  box-shadow: 0 1px 10px 0 rgba(55,37,27,0.11);
  cursor: pointer;
  outline: none;
  margin-left: 16px;
  transition: background var(--transition), transform var(--transition), box-shadow 0.18s;
  display: inline-block;
}
.btn-primary:focus, .btn-primary:hover {
  background: var(--color-secondary);
  color: var(--color-primary)!important;
  box-shadow: 0 3px 16px 0 rgba(55,37,27,0.14);
  transform: translateY(-2px) scale(1.04);
}
.hero {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 52px 0 40px 0;
}
.hero .container { align-items: center; }
.hero .content-wrapper {
  max-width: 700px;
  gap: 30px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
  letter-spacing: -0.012em;
}
.hero p {
  color: #fff;
  margin-bottom: 28px;
  font-weight: 400;
  font-size: 1.2rem;
}
.hero .btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary)!important;
  margin: 0;
  letter-spacing: .10em;
}
.hero .btn-primary:hover {
  background: #fff;
  color: var(--color-primary)!important;
}

/* ==========================================================  
   FOOTER                                                     
   ========================================================== */
footer {
  width: 100%;
  background: #2C1E14;
  color: #fff;
  padding: 44px 0 12px 0;
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-columns {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.07rem;
}
.footer-nav a {
  color: #BFA180;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color 0.16s;
  margin-bottom: 2px;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.footer-contact address, .footer-contact p {
  font-style: normal;
  color: #fff;
  font-size: 1rem;
  opacity: .92;
  display: flex;
  gap: 8px;
  margin-bottom: 5px;
  align-items: center;
}
.footer-contact img {
  width: 18px; height: 18px;
  margin-bottom: -2px;
}
.footer-copy {
  color: #BFA180;
  text-align: center;
  font-size: .98rem;
  padding-top: 11px;
  border-top: 1px solid #37251B;
  opacity: 0.9;
}

/* ==========================================================  
   MOBILE NAVIGATION/BURGER MENU                              
   ========================================================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  background: var(--color-secondary);
  color: #37251B;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 2px 10px 0 rgba(55,37,27,0.13);
  border: 2px solid #F8F7F3;
  transition: background var(--transition); 
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff;
  color: #37251B;
  border-color: #BFA180;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 1100;
  box-shadow: 0 8px 32px 0 rgba(55,37,27,0.14);
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.80,.24,.17,.95);
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 5px 60px 0 rgba(55,37,27,0.22);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 25px 30px 0 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2em;
  border: 2px solid #fff;
  box-shadow: 0 2px 14px 0 rgba(55,37,27,0.10);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #37251B;
  color: #fff;
  border: 2px solid #BFA180;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 36px 0 0 45px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #37251B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .09em;
  padding: 16px 0;
  border-radius: 6px;
  min-width: 220px;
  margin-bottom: 2px;
  transition: background .18s, color .17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  header .container {
    gap: 8px;
  }
  .main-nav {
    gap: 12px;
  }
  .footer-columns {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 860px) {
  .main-nav {
    font-size: .99rem;
    gap: 7px;
  }
  .footer-columns { flex-direction: column; }
  .container { max-width: 100vw; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  .main-nav {  display: none; }
  .btn-primary { font-size: .99rem; padding: 10px 16px; }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    min-height: 66px;
    gap: 0;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 18px 14px;
  }
  .section {
    padding: 28px 5px;
    margin-bottom: 40px;
  }
  .cta-banner {
    padding: 18px 8px 18px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.32rem;}
  .hero h1 {font-size:1.45rem;}
  .btn-primary { padding: 10px 7vw; font-size: .95rem;}
  .mob-nav a {font-size:1rem;}
}

/* ==========================================================  
   COOKIE CONSENT BANNER + MODAL                              
   ========================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2100;
  background: #37251B;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 1.08rem;
  box-shadow: 0 0 40px 0 rgba(55,37,27,0.10);
  gap: 24px;
  min-height: 80px;
  transition: transform 0.45s cubic-bezier(.89,.16,.31,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  flex: 1 1 0%;
  padding-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  border-radius: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.17s, color .11s;
  outline: none;
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-accept:focus, .cookie-accept:hover {
  background: #fff;
  color: var(--color-primary);
}
.cookie-reject {
  background: #fff;
  color: var(--color-error);
  border: 2px solid #d12a28;
}
.cookie-reject:focus, .cookie-reject:hover {
  background: #d12a28;
  color: #fff;
}
.cookie-settings {
  background: none;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-settings:focus, .cookie-settings:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2201;
  background: rgba(55,37,27,.64);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.51,.13,.65,.98);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  color: #37251B;
  border-radius: 17px;
  max-width: 420px;
  padding: 34px 34px 24px 34px;
  box-shadow: 0 8px 40px 0 rgba(55,37,27,0.16);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.33rem;
}
.cookie-modal__close {
  margin-left: auto;
  font-size: 2.1rem;
  color: #37251B;
  background: none;
  border: none;
  border-radius: 50%;
  padding: 0 7px;
  transition: color 0.16s, background 0.13s;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  color: #d12a28;
  background: #F6E7DC;
}
.cookie-modal__body {
  display: flex; flex-direction: column; gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #f2e8dd;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-weight: 700; font-size: 1.07rem;
}
.cookie-category-toggle {
  margin-left: auto;
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal__footer button {
  font-size: 1rem;
}
@media (max-width: 600px) {
  .cookie-modal__content { padding: 16px 7vw 16px 7vw; font-size: .97rem; }
}
@media (max-width: 420px) {
  .cookie-modal__content { padding: 12px 2vw 12px 2vw; font-size: .93rem; }
}

/* ==========================================================  
   MISC: SECTION, CARD, LIST, FORM, ERRORS, ETC                
   ========================================================== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 28px;
  letter-spacing: -.01em;
  text-align: left;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
}
.card-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
ul, ol { margin-bottom: 1.2em;}
li::marker {
  color: var(--color-secondary);
  font-size: 1.12em;
  font-weight: bold;
}
.map-placeholder {
  border-radius: 14px;
  background: #EFE6D8;
  padding: 19px 17px;
  box-shadow: 0 1px 7px 0 rgba(191,161,128,.15);
  min-height: 80px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.text-section ul li {
  margin-bottom: 5px;
}

/* Microinteractions & geometric decorations (subtle) */
.card:before, .cta-banner:before {
  content: '';
  display: block;
  width: 38px; height: 6px;
  background: var(--color-secondary);
  border-radius: 12px;
  margin-bottom: 12px;
  opacity: 0.23;
}
.card:before { margin-bottom: 5px; }

/* Error and Success messages styling */
.alert-error {
  color: #fff;
  background: #d12a28;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 600;
  margin-bottom: 24px;
}
.alert-success {
  color: #fff;
  background: #35bf73;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ==========================================================  
   HOVER EFFECTS, TRANSITIONS, ANIMATIONS                     
   ========================================================== */
.btn-primary, .main-nav a, .mobile-nav a, .cookie-banner button, .cookie-modal__close {
  transition: background 0.21s, color 0.15s, box-shadow 0.16s, transform 0.17s;
}
section, .card, .testimonial-card, .cta-banner, .footer-nav a, .main-nav a, .cookie-banner, .btn-primary {
  will-change: box-shadow, transform, background-color;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 26px 0 rgba(55,37,27,0.15);
  z-index: 4;
}

/* Buttons click/active state */
.btn-primary:active { filter: brightness(0.93); transform: scale(0.98); }

/* ==========================================================  
   PRINT SAFE                                                 
   ========================================================== */
@media print {
  body { background: #fff; color: #000; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  main { padding: 0; }
}
