/* ------------- 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F0EB;
  color: #3B322C;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button, [type='button'], [type='submit'] {
  cursor: pointer;
}
*:focus-visible {
  outline: 2px solid #B49A7A;
  outline-offset: 2px;
}


/* ------------- GLOBAL VARIABLES ------------- */
:root {
  --primary: #3B322C;
  --secondary: #B49A7A;
  --accent: #F5F0EB;
  --danger: #c0592f;
  --success: #85b37e;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(59,50,44,.07), 0 1.5px 3px 0 rgba(59,50,44,.05);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 32px;
  --transition: all .25s cubic-bezier(.62, .09, .48, 1);
}


/* ------------- TYPOGRAPHY ------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.3rem;   /* 36-40px */
  line-height: 1.18;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;   /* 28px */
  line-height: 1.23;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.12rem;  /* 18px */
  font-weight: 600;
  margin-bottom: 8px;
}
h4 {
  font-size: 1rem;
  font-weight: 500;
}
p, li, ul, label {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--primary);
}
strong {
  font-weight: 700;
}

/* ------------- CONTAINERS, SPACING, LAYOUT ------------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.feature-grid, .collections-preview, .footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.feature-grid {
  justify-content: flex-start;
  margin-top: 18px;
}

/* to avoid grid: use similar container for card collections */
.collections-preview {
  margin-top: 18px;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 22px;
}

.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 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  box-shadow: var(--shadow);
  min-width: 250px;
  max-width: 370px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(180,154,122,0.08), 0 2px 12px rgba(59,50,44,.12);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #493922;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: var(--secondary);
  font-weight: 700;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--primary);
  margin-top: 20px;
}

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

/* spacing between cards/sections */
.card + .card, .testimonial-card + .testimonial-card, .section + .section, .feature + .feature, .collection-card + .collection-card  {
  margin-left: 0;
  margin-top: 20px;
}


/* ------------- HEADER & NAVIGATION ------------- */
header {
  background: var(--white);
  box-shadow: 0 2px 8px 0 rgba(59,50,44,.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 18px;
}
header img {
  height: 50px;
  width: auto;
  border-radius: 0;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: background .18s, color .18s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
nav .primary-btn {
  margin-left: 18px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .18s, background .18s, color .18s;
}
nav .primary-btn:hover, nav .primary-btn:focus {
  background: #ad8f6a;
  color: #fff;
  box-shadow: 0 6px 24px #b49a7a30, 0 2px 12px #3b322c13;
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .18s, box-shadow .18s;
  margin-left: 22px;
  border: none;
  box-shadow: 0 2px 12px #b49a7a10;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ad8f6a;
}

/* ------------- MOBILE MENU ------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--accent);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.42,.09,.6,1);
  box-shadow: -4px 0 28px rgba(59,50,44,0.10);
  padding: 0;
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  margin: 22px 22px 0 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background .16s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e6dccf;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 40px 0 0 38px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 13px 0;
  min-width: 180px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  padding-left: 14px;
}


/* ------------- HERO / CTA / BUTTONS ------------- */
.hero {
  background: linear-gradient(to bottom, #F5F0EB 0%, #FBECDC 65%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 50px 0 54px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.cta {
  background: linear-gradient(to right, #fbe5c2 0%, #f9dac6 100%);
  border-radius: var(--radius-lg);
  padding: 40px 0 50px 0;
  margin-bottom: 40px;
  box-shadow: 0 4px 24px rgba(180,154,122,.07);
}
.cta-btn, .secondary-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 12px 34px;
  border: none;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus, .secondary-btn:hover, .secondary-btn:focus {
  background: #A28867;
  box-shadow: 0 6px 24px #e8d1b0bb, 0 2px 12px #3b322c19;
  color: #fff;
}
.secondary-btn {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: none;
  font-weight: 600;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #EAD6B6;
  color: #3B322C;
}

/* ------------- COLLECTION CARD / FEATURE CARD ------------- */
.collection-card, .feature {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  box-shadow: var(--shadow);
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.collection-card:hover, .feature:hover {
  box-shadow: 0 8px 32px rgba(180,154,122,0.10);
}
.collection-card h3,
.feature h3 {
  font-size: 1.18rem;
  color: var(--secondary);
}
.feature img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fbe5c2;
  padding: 8px;
}


/* ------------- FOOTER STYLES ------------- */
footer {
  background: var(--accent);
  padding: 46px 0 18px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -1px 14px #e8d1b050;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #e4d4c4;
  padding-bottom: 18px;
  margin-bottom: 10px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  border-radius: 0;
  margin-bottom: 8px;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: var(--primary);
  font-size: 0.98rem;
  transition: color .18s;
}
.footer-menu a:hover {
  color: var(--secondary);
}
.footer-contact h3 {
  font-size: 1.08rem;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
}
.footer-contact li img {
  width: 17px;
  height: 17px;
  background: #f7e6d6;
  border-radius: 5px;
  padding: 2px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-bottom {
  padding: 8px 0 0 0;
  font-size: 0.95rem;
  color: #927c63;
  text-align: center;
}


/* ------------- FORMS (not present, but general) ------------- */
input, textarea, select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #dec8b5;
  border-radius: var(--radius-sm);
  background: #fffdfb;
  margin-bottom: 12px;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  background: #fdf8f4;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}


/* ------------- TEXT/IMAGE SECTIONS, MAPS, ETC. ------------- */
.text-section {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.text-section ul {
  margin-bottom: 0;
}
.map-preview {
  background: #fff8f1;
  border-radius: var(--radius-sm);
  padding: 13px 17px;
  margin-top: 10px;
  font-size: 1rem;
  color: #6b5c48;
}

/* ------------- OTHER UTILITY/GENERIC ------------- */
li+li {
  margin-top: 9px;
}

/* ------------- COOKIE BANNER ------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8f3;
  border-top: 2px solid #DDC4A5;
  box-shadow: 0 -2px 20px #6a482b11;
  padding: 24px 20px 16px 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .22s cubic-bezier(.64,.24,.49,1);
  font-size: 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #5a4837;
  line-height: 1.5;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 17px;
  margin-top: 0;
}
.cookie-btn, .cookie-btn-settings {
  background: var(--secondary);
  color: #fff;
  border-radius: 100px;
  font-family: 'Montserrat', 'Lato', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 26px;
  border: none;
  margin: 0;
  box-shadow: 0 0.5px 4px #b49a7a14;
  transition: var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8a6b41;
}
.cookie-btn.cookie-reject {
  background: #eecdb0;
  color: #7c6247;
}
.cookie-btn.cookie-reject:hover {
  background: #e2b88b;
  color: #3B322C;
}
.cookie-btn-settings {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #fbe5c2;
  color: #3B322C;
}

/* ------------- COOKIE MODAL ------------- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(59,50,44,0.12);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .22s cubic-bezier(.64,.24,.49,1);
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff9f2;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px #b49a7a33, 0 3px 8px #3b322c10;
  max-width: 98vw;
  width: 410px;
  margin: 0 16px 44px 16px;
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 5px;
}
.cookie-close-modal {
  position: absolute;
  top: 17px;
  right: 17px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.7rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background .18s;
}
.cookie-close-modal:hover, .cookie-close-modal:focus {
  background: #ffe7cf;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  border-bottom: 1px solid #ead6b1;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #77644c;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 20px;
  background: #ead6b2;
  position: relative;
  transition: background .19s;
  margin-left: 18px;
  display: inline-block;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px #3b322c09;
  transition: left .17s cubic-bezier(.82, .28, .72, .91), background .14s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 20px;
  background: var(--secondary);
}
.cookie-category.essential label {
  color: #3B322C;
  font-weight: 700;
}

/* ------------- ANIMATIONS & MICRO-INTERACTIONS ------------- */
.card, .collection-card, .feature, .testimonial-card, .cta-btn, .secondary-btn, .cookie-banner, .cookie-modal {
  transition: box-shadow .22s, background .15s, color .16s, transform .32s;
}
.collection-card:hover, .feature:hover {
  transform: scale(1.027);
}
.cta-btn:active, .secondary-btn:active {
  transform: scale(0.97);
}

/* ------------- MEDIA QUERIES (Mobile First) ------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-columns {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  nav {
    gap: 11px;
  }
}
@media (max-width: 880px) {
  .feature-grid, .collections-preview {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {
    padding: 32px 0 34px 0;
  }
  h1 {
    font-size: 1.48rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.08rem;
  }
  .section {
    padding: 21px 6px;
    margin-bottom: 37px;
  }
  .testimonial-card, .collection-card, .feature {
    min-width: unset;
    max-width: unset;
    width: 100%;
    padding: 20px 10px;
    border-radius: var(--radius-sm);
  }
  .testimonials {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section, .text-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-contact ul {
    gap: 5px;
  }
  .footer-logo img {
    margin-bottom: 3px;
    height: 42px;
  }
  .footer-menu nav {
    gap: 5px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .cookie-modal {
    padding: 20px 6px 20px 13px;
    border-radius: var(--radius-sm);
    width: 96vw;
  }
  .cookie-banner {
    padding: 18px 4px 8px 4px;
    border-radius: 18px 18px 0 0;
  }
}
