/* === CSS RESET & BASIC NORMALIZATION === */
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.5;
  background: #F7F3EF;
  color: #2B1D15;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #C04628;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #5D463A;
  text-decoration: underline;
}
ul,ol {
  margin: 0 0 16px 20px;
  padding: 0;
}
li {
  margin-bottom: 6px;
  line-height: 1.5;
}
strong {
  font-weight: 600;
}

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #5D463A;
}
h1 { font-size: 2.7rem; font-weight: 900; margin-bottom: 24px; }
h2 { font-size: 2.1rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.text-section h1, .text-section h2, .text-section h3 { color: #2B1D15; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #49372e;
}

/* === BASIC LAYOUT STRUCTURE === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(90,60,30,0.07);
  margin-bottom: 24px;
  padding: 34px 26px 28px 26px;
}
.text-section {
  background: #F7F3EF;
  box-shadow: none;
  padding: 34px 0;
}

/* === SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 38px;
    padding: 24px 5px;
  }
  .content-wrapper {
    padding: 16px 8px 20px 8px;
  }
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(90,60,30,0.06);
  border-radius: 0 0 18px 18px;
  margin-bottom: 32px;
  position: relative;
  z-index: 101;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 16px 0 12px 0;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 10px;
  color: #5D463A;
  background: none;
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F7F3EF;
  color: #C04628;
}
.main-nav img {
  max-height: 36px;
  margin-right: 8px;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .main-nav {
    gap: 8px;
    padding-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #C04628;
  padding: 8px 16px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 120;
  border-radius: 10px;
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F7F3EF;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 85vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: 3px 0 24px rgba(90,60,30,0.15);
  transform: translateX(-110%);
  transition: transform .36s cubic-bezier(.63,.09,.22,1);
  z-index: 230;
  padding-top: 27px;
  padding-bottom: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #C04628;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 10px;
  border-radius: 10px;
  transition: background .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F7F3EF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.05rem;
  color: #5D463A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 13px 18px;
  border-radius: 12px;
  background: none;
  transition: background .18s, color .15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F7F3EF;
  color: #C04628;
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === OVERLAY for mobile menu (optional, only if needed in JS) === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  z-index: 180;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(93,70,58,0.25);
  transition: opacity .35s;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
  opacity: 1;
}

/* === MAIN CTAS & BUTTONS === */
.cta, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #C04628;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 13px 34px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .15s;
  box-shadow: 0 1px 8px rgba(192,70,40,0.09);
  text-align: center;
  margin-top: 8px;
  margin-bottom: 12px;
}
.cta.primary {
  background: #5D463A;
}
.cta:hover, .cta:focus, .primary:hover, .primary:focus {
  background: #a33c1f;
  color: #fff;
  box-shadow: 0 4px 18px rgba(50,20,10,0.09);
  text-decoration: none;
}

/* === FLEXBOX LAYOUT PATTERNS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(90,60,30,0.11);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
  padding: 26px;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(192,70,40,0.13);
  transform: translateY(-2px) scale(1.012);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin: 18px 0 24px 0;
  background: #F7F3EF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(90,60,30,0.07);
  color: #2B1D15;
  font-size: 1.05rem;
  transition: box-shadow .2s;
}
.testimonial-card p {
  margin: 0 14px 0 0;
  flex: 1;
  color: #49372e;
  font-style: italic;
}
.testimonial-card span {
  color: #C04628;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 5px 28px rgba(192,70,40,0.09);
}

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

/* === LISTS in Ul, Ol (margin) === */
.content-wrapper ul, .content-wrapper ol {
  margin-left: 22px;
  margin-bottom: 14px;
}
.content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 6px;
}

/* === FOOTER LAYOUT === */
footer {
  background: #5D463A;
  color: #F7F3EF;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 20px rgba(90,60,30,0.10);
  padding: 34px 0 24px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  padding: 0 16px;
}
footer .content-wrapper {
  background: transparent;
  box-shadow: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 44px;
  margin-bottom: 0;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.92;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 5px;
  transition: background .12s, color .14s;
}
footer nav a:hover,footer nav a:focus {
  background: rgba(240,236,234,0.10);
  color: #C04628;
  text-decoration: underline;
}
.footer-info {
  margin-bottom: 16px;
}
.footer-info p {
  color: #F7F3EF;
  font-size: 1rem;
  opacity: 0.96;
  margin-bottom: 6px;
}
.footer-info strong {
  color: #fff;
}
footer a[href^="mailto:"] { color: #C04628; word-break: break-all; }
@media (max-width: 992px) {
  footer .content-wrapper { flex-direction: column; gap: 15px; }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper {
    border-radius: 12px;
  }
  footer {
    border-radius: 12px 12px 0 0;
    padding: 18px 0 13px 0;
    font-size: .97rem;
  }
  footer .footer-info {
    margin-bottom: 12px;
  }
}

/* === FORM ELEMENTS (if used in future) === */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  background: #fff;
  border: 1.5px solid #eedcd6;
  border-radius: 9px;
  margin-bottom: 18px;
  outline: none;
  box-shadow: 0 1px 8px rgba(90,60,30,0.06);
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #C04628;
}

button, .button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 15px;
  background: #5D463A;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .14s, box-shadow .18s;
  box-shadow: 0 1px 7px rgba(90,60,30,0.10);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #C04628;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  width: 100vw;
  left: 0;
  right: 0;
  background: #fff;
  color: #5D463A;
  box-shadow: 0 -2px 34px rgba(90,60,30,0.16);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 24px;
  z-index: 9999;
  border-radius: 24px 24px 0 0;
  font-size: 1rem;
  animation: cookieBannerSlideUp .38s cubic-bezier(.63,.09,.22,1);
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  color: #49372e;
  flex: 1;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-left: 14px;
}
.cookie-consent-banner button {
  padding: 11px 26px;
  font-size: .97rem;
  border-radius: 13px;
  font-weight: 600;
}
.cookie-consent-banner .accept {
  background: #C04628;
  color: #fff;
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: #a33c1f;
}
.cookie-consent-banner .reject {
  background: #F7F3EF;
  color: #C04628;
  border: 1.5px solid #eedcd6;
}
.cookie-consent-banner .reject:hover,
.cookie-consent-banner .reject:focus {
  background: #eedcd6;
  color: #C04628;
  border: 1.5px solid #C04628;
}
.cookie-consent-banner .settings {
  background: #fff;
  color: #5D463A;
  border: 1.5px solid #5D463A;
}
.cookie-consent-banner .settings:hover,
.cookie-consent-banner .settings:focus {
  background: #F7F3EF;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: .97rem;
    padding: 18px 7px;
    border-radius: 12px 12px 0 0;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 8px;
    margin-left: 0;
  }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(93,70,58,0.22);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .28s cubic-bezier(.63,.09,.22,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #2B1D15;
  border-radius: 24px;
  box-shadow: 0 6px 36px rgba(90,60,30,0.25);
  padding: 36px 36px 30px 36px;
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10001;
  position: relative;
  animation: modalUp .39s cubic-bezier(.63,.09,.22,1);
}
@keyframes modalUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 12px;
  color: #C04628;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-category {
  background: #F7F3EF;
  border-radius: 12px;
  padding: 14px 17px 13px 17px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 5px;
}
.cookie-modal .cookie-category .toggle {
  margin-left: auto;
  display: flex;
}
.cookie-modal .toggle-switch {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #eedcd6;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .toggle-switch.enabled {
  background: #C04628;
}
.cookie-modal .toggle-knob {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left .17s;
  box-shadow: 0 1px 4px rgba(90,60,30,0.09);
}
.cookie-modal .toggle-switch.enabled .toggle-knob {
  left: 23px;
}
.cookie-modal .cookie-category.essential .toggle-switch {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-category.essential strong {
  color: #a33c1f;
}
.cookie-modal .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-buttons button {
  padding: 11px 23px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .98rem;
  background: #C04628;
  color: #fff;
  border: none;
}
.cookie-modal .cookie-buttons .cancel {
  background: #fff;
  color: #C04628;
  border: 1.5px solid #C04628;
}
.cookie-modal .cookie-buttons .cancel:hover, .cookie-modal .cookie-buttons .cancel:focus {
  background: #F7F3EF;
}
.cookie-modal .close-modal-btn {
  display: block;
  position: absolute;
  top: 20px;
  right: 17px;
  color: #C04628;
  background: none;
  border: none;
  font-size: 1.45rem;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .14s;
}
.cookie-modal .close-modal-btn:hover,
.cookie-modal .close-modal-btn:focus {
  background: #F7F3EF;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 7px 14px 15px;
    border-radius: 10px;
    width: 98vw;
    min-width: unset;
  }
}

/* === GENERAL MICRO-INTERACTIONS === */
section, .card, .content-wrapper, .cta, .button, .testimonial-card {
  transition: box-shadow .18s, background .14s, transform .16s;
}

/* === TABLES (for future) === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fffdfa;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(90,60,30,0.05);
}
th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border-bottom: 1.5px solid #f5e7df;
  color: #49372e;
}
th {
  background: #eedcd6;
}

/* === MISC: Accessibility helper === */
:focus-visible {
  outline: 2px solid #C04628;
  outline-offset: 2px;
}

/* === OVERRIDES for specific blocks (if used in future) === */
.hide {
  display: none !important;
}

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