/* --- CSS RESET AND 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F9DBB1;
  color: #374A39;
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; border-radius: 12px; }
button { font: inherit; background: none; border: none; cursor: pointer; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Quicksand', 'Montserrat', Arial, sans-serif;
  color: #374A39;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
p { font-size: 1rem; color: #4D4A49; margin-bottom: 16px; }
strong, b { font-weight: 700; color: #8A2040; }

/* --- BRAND COLORS AS CSS VARIABLES --- */
:root {
  --color-primary: #374A39;
  --color-secondary: #F9DBB1;
  --color-accent: #8A2040;
  --color-card-bg: #fff8f3;
  --color-grey-100: #FFF;
  --color-grey-200: #F5ECE0;
  --color-grey-300: #e9d9cc;
  --color-grey-800: #4D4A49;
  --color-cta-hover: #B36677;
  --shadow-soft: 0 3px 16px 0 rgba(140,72,36,0.08);
  --border-radius: 18px;
  --font-display: 'Quicksand', 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

/* --- CONTAINERS & BASIC LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- SECTION PADDING AND SPACING --- */
.section {
  padding: 40px 20px;
}
main section { margin-bottom: 60px; padding: 40px 0 0 0; }
@media (max-width: 768px) {
  .section,
  main section { margin-bottom: 40px; padding: 24px 0 0 0; }
  .container { padding: 0 8px; }
}

/* --- CARD & FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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 {
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 340px;
  max-width: 100%;
  color: #3e2d23;
  border: 1px solid #f2e6dc;
  transition: box-shadow 0.21s, transform .17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(140,72,36,0.15);
  transform: translateY(-3px) scale(1.03);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BUTTONS --- */
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 20px 0 rgba(138,32,64,.10);
  position: relative;
  transition: background 0.22s, box-shadow 0.17s, transform 0.17s;
  margin-top: 12px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-cta-hover);
  box-shadow: 0 7px 38px 0 rgba(138,32,64,.18);
  transform: translateY(-2px) scale(1.05);
  outline: none;
}


/* --- HEADER & TOP NAVIGATION --- */
header {
  background: var(--color-grey-100);
  box-shadow: 0 2px 14px rgba(156,96,40,0.06);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  gap: 18px;
}
header img {
  height: 46px;
  width: auto;
  border-radius: 0;
  margin-right: 23px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--color-primary);
  border-radius: 10px;
  padding: 8px 18px;
  transition: background 0.13s, color 0.13s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
header .cta-btn {
  margin-left: 15px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.12rem;
  color: var(--color-accent);
  background: #fff7ef;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #f4e3c2;
  transition: background .17s, box-shadow 0.17s;
  z-index: 41;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  box-shadow: 0 2px 11px 0 rgba(138,32,64,.12);
  background: #fbe6d2;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 249, 236, .98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.45,.14,.59,1.1);
  box-shadow: 0 8px 38px 0 rgba(58,37,14, .05);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 21px 0 0;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 2rem;
  transition: background 0.17s;
  border: none;
  z-index: 2;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-cta-hover);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 34px 0 0 38px;
  gap: 14px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 24px;
  font-size: 1.18rem;
  color: var(--color-primary);
  border-radius: 13px;
  margin-bottom: 3px;
  transition: background 0.14s, color 0.13s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  header nav,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN & TYPOGRAPHY --- */
main { margin-bottom: 70px; }
main .container > h2 {
  margin-bottom: 18px;
  margin-top: 30px;
}
main .container > h1 {
  margin-top: 34px;
  margin-bottom: 16px;
}
ul > li, ol > li {
  list-style: none;
  font-size: 1rem;
  color: #4d3d30;
  margin-bottom: 12px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul > li img, ol > li img { width: 28px; height: 28px; margin-right: 8px; border-radius: 8px; box-shadow: 0 2px 7px 0 rgba(210,100,60,0.07); }

.text-section h2,
.text-section h3 { margin-top: 12px; }
.text-section ul, .text-section ol { gap: 8px; }

/* --- TESTIMONIALS/REVIEWS --- */
.content-wrapper .testimonial-card + .testimonial-card { margin-top: 16px; }
.testimonial-card p {
  color: #3E2D23;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #8A2040;
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
}

/* --- FEATURE LIST --- */
.content-wrapper ul {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* --- FOOTER --- */
footer {
  background: #fff8f4;
  padding: 30px 0 18px 0;
  box-shadow: 0 -2px 18px 0 rgba(120,100,60,0.07);
  margin-top: 50px;
  position: relative;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
footer img {
  width: 60px;
  height: auto;
  margin-bottom: 5px;
  background: none;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  font-size: 1rem;
  color: #8A2040;
  padding: 6px 13px;
  border-radius: 10px;
  font-weight: 500;
  background: none;
  transition: background .15s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #F9DBB1;
  color: #374A39;
}
footer .social-icons {
  display: flex;
  gap: 12px;
  margin: 6px 0 0 0;
}
footer .social-icons img {
  width: 28px; height: 28px; border-radius: 8px; background: #F9DBB1; padding: 4px; transition: box-shadow 0.16s; }
footer .social-icons img:hover {
  box-shadow: 0 2px 8px 0 rgba(143,32,64,.18);
}
footer .newsletter-signup {
  background: #F9DBB1;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  margin-top: 5px;
  font-size: 1rem;
  color: #374A39;
  font-weight: 500;
  width: 100%;
  max-width: 480px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
footer .newsletter-signup strong { color: #8A2040; }
footer .legal-mentions {
  font-size: 0.93rem;
  color: #9b8071;
  margin-top: 10px;
  opacity: 0.88;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  header .container { padding: 12px 10px; }
  .container { max-width: 97vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .content-wrapper, .card-container, .content-grid, .text-image-section { flex-direction: column !important; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .cta-btn, .cookie-btn { font-size: 1.08rem; padding: 12px 20px; min-width: 0; }
  main { margin-bottom: 55px; }
  .section, main section { padding: 18px 0 0 0; }
  .newsletter-signup { padding: 12px 8px; font-size: .98rem; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.15rem; }
  .container { padding: 0 2vw; }
  .testimonial-card, .card { padding: 16px 10px; }
}

/* --- MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cta-btn, .cookie-btn {
  transition: box-shadow 0.16s, transform 0.12s, background 0.14s;
}
.card:hover {
  box-shadow: 0 7px 36px rgba(58,30,8,0.13);
  transform: translateY(-4px) scale(1.025);
}

/* --- FORM ELEMENTS & FOCUS STATE --- */
input, textarea, select {
  font: inherit;
  border: 1px solid #e1c59b;
  border-radius: 10px;
  padding: 10px 13px;
  background: #fffdfb;
  margin-bottom: 18px;
  box-shadow: 0 2px 9px 0 rgba(180,106,64,0.08);
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #B36677;
  box-shadow: 0 2px 17px 0 rgba(180,106,64,0.13);
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffdfb;
  box-shadow: 0 -3px 24px rgba(180,106,64,0.20);
  z-index: 20000;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 18px 30px;
  border-radius: 22px 22px 0 0;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.44s cubic-bezier(.39,.51,.45,.99);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 auto;
  color: #682835;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 9px 22px;
  transition: background .18s, box-shadow .18s, color .13s;
  border: none;
}
.cookie-btn.cookie-accept {
  background: var(--color-accent);
}
.cookie-btn.cookie-reject {
  background: #b36677;
  color: #fff;
}
.cookie-btn.cookie-settings { background: #fff5ee; color: #8A2040; border: 1px solid #f2d6c8; }
.cookie-btn.cookie-settings:hover { color: #fff; background: #8A2040; border-color: #8A2040; }

/* Responsive cookie banner */
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 8px; gap: 13px; font-size: 0.97rem; }
  .cookie-banner-btns { gap: 11px; width: 100%; }
  .cookie-btn { width: 100%; justify-content: center; }
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(55, 74, 57, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 21000;
  animation: cookieModalFadeIn .3s both;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: 22px;
  padding: 38px 30px 28px 30px;
  box-shadow: 0 8px 44px 0 rgba(58,37,14,0.12);
  max-width: 98vw;
  width: 420px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalPopIn .22s cubic-bezier(.39,.51,.52,1.16);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(.86); opacity: 0.2; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--color-accent);
}
.cookie-category .category-desc {
  color: #734d3d;
  font-size: .99rem;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-title {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 22px;
  font-size: 1.22rem;
  color: #8A2040;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 9px;
  padding: 5px 10px;
  font-weight: bold;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #fff5ee; color: #B36677; }
@media (max-width: 480px) {
  .cookie-modal-content { padding: 14px 6vw 18px 6vw; width: 96vw; } 
}

/* --- ACCENT/HEADER STYLES --- */
hr, .accent-line {
  border: 0; height: 2px;
  background: var(--color-secondary);
  margin: 30px 0 30px 0;
  width: 60px;
  display: block;
  border-radius: 18px;
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- CUSTOM SCROLLBARS --- */
::-webkit-scrollbar { width: 10px; background: #f9dbb1; }
::-webkit-scrollbar-thumb { background: #e5bc81; border-radius: 12px; }
.scrollbar-track { background: #f9dbb1; }

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.gap-4 { gap: 32px; }

/* --- WARM FRIENDLY STYLE ADD-ONS --- */
.card, .testimonial-card, .newsletter-signup, .cookie-banner, .cookie-modal-content {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  background: #fffdfa;
}

header,.cta-btn,.cookie-btn,.newsletter-signup,footer {
  border-radius: var(--border-radius);
}
.testimonial-card {
  background: #fffdfa;
  color: #3E2D23;
  border: 1px solid #f5e8d4;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Montserrat:wght@400;500;700&display=swap');

body, .newsletter-signup, .cookie-banner, .cookie-modal-content {
  font-family: var(--font-body);
}
h1,h2,h3,header nav a,.cta-btn,footer nav a, .mobile-nav a {
  font-family: var(--font-display);
}

/* --- ICON BUTTON RESET --- */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* --- ENSURE NO OVERLAPS (CRITICAL LAYOUT SAFETY) --- */
.card, .testimonial-card, .newsletter-signup, .footer .container > * {
  margin-bottom: 20px !important;
}
.header, .footer, .card, .testimonial-card, .newsletter-signup { z-index: 2; position: relative; }

/* Add space at the bottom so the cookie banner does not block content */
@media (max-width: 900px) {
  body { padding-bottom: 90px; }
}

