/* 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,
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;
  background: #F5F1EC;
  color: #3D3524;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: repeating-linear-gradient(135deg, #ede1cd 0, #ede1cd 64px, #f5f1ec 64px, #f5f1ec 128px);
}
ul,ol {
  list-style: none;
}
a {
  color: #B1551F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A4B2E;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  color: #1A4B2E;
  letter-spacing: 1px;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.5rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1.1rem;}
p, label, select, input, small, em, strong, span {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p, ul, ol, .text-section {margin-bottom: 18px;}
strong {font-weight: bold;}
em {font-style: italic;}
small {font-size: 0.93em; color: #6D684C;}

/* CONTAINER --------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* FLEX UTILITIES ---------------------- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Mandated patterns - see user input */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFDF7;
  border: 2px solid #DFD3BE;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(61, 53, 36, 0.08);
  padding: 28px 20px 18px 20px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffaf6;
  border: 2px solid #EDCDA2;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(61, 53, 36, 0.07);
  font-size: 1.08rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY SCALE ------------------- */
.subheadline {
  font-size: 1.18rem;
  color: #7A5A36;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  margin-bottom: 14px;
}

/* BUTTONS & CTA ---------------------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  border-radius: 36px;
  padding: 12px 38px;
  background: #D47437;
  color: #fff !important;
  font-size: 1.10rem;
  box-shadow: 0 2px 8px 0 rgba(61,53,36,.12);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.3s, color 0.17s, transform 0.14s;
  margin-top: 10px;
  letter-spacing: 0.1em;
  outline: none;
}
.cta:hover, .cta:focus {
  background: #B1551F;
  color: #FFF9F2 !important;
  box-shadow: 0 5px 18px 0 rgba(61,53,36,0.16);
  transform: translateY(-1px) scale(1.034);
}
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Georgia, serif;
  background: #fffbe5;
  border: 2px solid #DEBA89;
  color: #512e10;
  border-radius: 30px;
  padding: 8px 24px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(61,53,36,0.03);
  transition: background 0.17s, border 0.17s, color 0.15s;
}
button:hover, button:focus {
  background: #fce6c4;
  border-color: #cd8432;
  color: #B1551F;
}
button.mobile-menu-toggle, button.mobile-menu-close {
  background: #1A4B2E;
  color: #fff;
  border: none;
  padding: 0.8em 1.2em;
  font-size: 1.6rem;
  border-radius: 40px;
  box-shadow: 0 2px 8px 0 rgba(61,53,36,0.12);
  margin-left: 18px;
  display: inline-flex;
  align-items: center;
  transition: background 0.19s, color 0.14s, box-shadow 0.17s;
}
button.mobile-menu-toggle:hover, button.mobile-menu-close:hover {
  background: #D47437;
  color: #fff;
}

/* HEADER & TOP NAV ------------------- */
header {
  background: #fff9e6;
  border-bottom: 3px solid #F5C587;
  box-shadow: 0 4px 28px 0 rgba(61,53,36,0.043);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  color: #583b14;
  text-decoration: none;
  padding: 8px 6px;
  transition: color .19s, background .19s, border .10s;
  position: relative;
}
header nav a.cta {
  padding: 8px 22px;
  background: #D47437;
  color: #fff;
  border-radius: 34px;
  margin-left: 14px;
  font-size: 1.08rem;
}
header nav a.cta:hover {
  background: #B1551F;
  color: #fff;
}
header nav a:not(.cta):hover, header nav a:not(.cta):focus {
  color: #B1551F;
  background: #fff6e7;
  border-bottom: 2.5px solid #B1551F;
}
header img {
  max-width: 145px;
  height: auto;
  margin-right: 18px;
}
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU Overlay ----------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff9e6;
  box-shadow: 0 6px 50px rgba(26,75,46, 0.09);
  z-index: 999;
  transform: translateX(102vw);
  transition: transform .39s cubic-bezier(.68,.1,.32,1.16);
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 40px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #B1551F;
  color: #FFF;
  margin-right: 32px;
  margin-bottom: 38px;
  font-size: 2.4rem;
  padding: 0.2em 0.6em;
  z-index: 1011;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.22rem;
  color: #1A4B2E;
  width: 95vw;
  text-align: center;
  padding: 16px 0;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 1px 5px rgba(61,53,36,0.06);
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D47437;
  color: #fff;
}

/* HERO / MAIN SECTIONS --------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #fffdec;
  box-shadow: 0 2px 18px 0 rgba(61,53,36, 0.06);
}
section:nth-child(even) {
  background: #F5F1EC;
  box-shadow: none;
}

/* CARDS, TEASERS, LISTS -------------- */
.review-teaser {
  background: #FFFDF7;
  border: 1.5px solid #f3e2c7;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 2px 11px 0 rgba(61,53,36,0.03);
  padding: 22px 18px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-teaser h2, .review-teaser h3{
  font-family: 'Montserrat', serif;
  color: #B1551F;
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.review-teaser span {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #1A4B2E;
}
.text-section ul, .text-section ol {
  margin-left: 16px;
  padding-left: 10px;
  margin-bottom: 16px;
  list-style: disc inside;
}
.text-section ol {
  list-style: decimal inside;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: #57461e;
  font-family: inherit;
  line-height: 1.6;
}
.text-section ul li strong, .text-section ol li strong {
  color: #B1551F;
}
.text-section {
  margin-bottom: 18px;
}

/* INPUTS, FORMS ---------------------- */
label, select, input[type="text"] {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #432700;
  margin-right: 10px;
}
input[type="text"], select {
  padding: 8px 13px;
  border-radius: 18px;
  border: 1.5px solid #EDCDA2;
  background: #fffbe5;
  margin-bottom: 8px;
  margin-right: 10px;
  font-size: 1rem;
  min-width: 170px;
  max-width: 100%;
  transition: border .13s, box-shadow 0.15s;
}
input[type="text"]:focus, select:focus {
  border: 1.5px solid #B1551F;
  box-shadow: 0 0 0 2px #fff6e5;
}

/* FOOTER ----------------------------- */
footer {
  background: #F5F1EC;
  color: #80694e;
  border-top: 3px solid #EDCDA2;
  padding: 40px 0 20px 0;
  font-size: 0.955rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  color: #B1551F;
  font-weight: 500;
  font-family: 'Montserrat', Georgia, serif;
  transition: color 0.18s;
  text-decoration: none;
}
footer nav a:hover {
  color: #1A4B2E;
  text-decoration: underline dotted;
}
footer span {
  color: #887e74;
  margin-top: 4px;
}

/* MODALS, OVERLAYS ------------------- */
/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffaf6;
  border-top: 2.5px solid #EDCDA2;
  box-shadow: 0 -2px 22px 0 rgba(61,53,36,.11);
  z-index: 3000;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px 32px 14px;
  gap: 14px;
  animation: cookie-in 0.6s cubic-bezier(.16,1.06,.58,.97);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
@keyframes cookie-in {
  from { transform: translateY(100%); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #583c13;
  font-size: 1rem;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .cookie-btns button {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 24px;
  color: #fff;
  border-radius: 22px;
  border: none;
  background: #1A4B2E;
  margin: 0 2px;
  transition: background 0.19s, color 0.18s, box-shadow 0.2s;
}
.cookie-banner button.cookie-settings {
  background: #D47437;
}
.cookie-banner button.cookie-reject {
  background: #B1551F;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F5C587;
  color: #1A4B2E;
}

.cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -58%) scale(1);
  background: #fffaf6;
  border: 2.6px solid #EDCDA2;
  border-radius: 18px;
  max-width: 390px;
  min-width: 260px;
  width: 96vw;
  padding: 35px 18px 28px 18px;
  box-shadow: 0 8px 40px 0 rgba(61,53,36,0.20);
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: cookie-modal-in .6s cubic-bezier(.16,1.06,.58,.97);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%, 40%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -58%) scale(1); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', serif;
  color: #B1551F;
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.cookie-modal p {font-size: 1rem;}
.cookie-modal .cookie-categories {
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #D47437;
  margin-right: 9px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #B1551F;
  border: none;
  padding: 5px 9px;
  font-size: 1.4rem;
  position: absolute;
  top: 15px; right: 14px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-modal-close:hover {color: #1A4B2E;}

/* DECORATIVE ELEMENTS (Retro) -------- */
.card, .review-teaser, .testimonial-card {
  box-shadow: 0 2px 11px 0 rgba(169, 111, 37, 0.08), 0 1.5px 11px 0 rgba(247, 205, 158, 0.05);
  border-radius: 18px;
}

/* RETRO PATTERNS, BORDERS, BADGES ---- */
.section, .card, .testimonial-card, .review-teaser {
  border-style: solid;
  border-width: 2.5px;
  border-color: #EDCDA2;
  background-image: repeating-linear-gradient(135deg, rgba(212,116,55,0.03) 0, rgba(212,116,55,0.03) 24px, transparent 24px, transparent 48px);
}

/* BADGE Retro Style */
.badge-retro {
  display: inline-block;
  padding: 3px 18px;
  border-radius: 40px;
  background: #B1551F;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-right: 7px;
  margin-bottom: 2px;
}

/* MICRO-INTERACTIONS ----------------- */
.card, .review-teaser, .testimonial-card {
  transition: 
    box-shadow 0.18s cubic-bezier(.79,0,.28,1.22), 
    transform 0.18s cubic-bezier(.66,.24,.42,1.34);
}
.card:hover, .review-teaser:hover, .testimonial-card:hover {
  box-shadow: 0 6px 32px 2px rgba(61,53,36, 0.14);
  transform: translateY(-6px) scale(1.025);
}

/* TESTIMONIAL CONTRAST --------------- */
.testimonial-card {
  color: #2d2415;
  background: #fffaf6;
  border-color: #D47437;
}
.testimonial-card small {
  color: #888173;
  font-style: italic;
  font-size: 0.98em;
}
.testimonial-card p {
  color: #442921;
}

/* RESPONSIVE (MOBILE FIRST) ----------- */
@media (min-width: 600px) {
  .container {padding-left: 32px; padding-right: 32px;}
  section {padding: 50px 35px;}
}
@media (max-width: 991px) {
  .container {max-width: 98vw;}
  header .container, footer .container {padding-left: 12px; padding-right: 12px;}
  section {padding: 32px 8px;}
}
@media (max-width: 768px) {
  .content-grid, .card-container, .features, .feature-list {
    flex-direction: column !important;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  header nav {display: none;}
  .mobile-menu-toggle {
    display: inline-flex;
  }
  section {padding: 28px 7px;}
  .testimonial-card {flex-direction: column; align-items: flex-start;}
}
@media (max-width: 480px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.22rem;}
  .badge-retro {font-size: 0.83rem; padding: 4px 10px;}
  .logo {
    max-width: 92px !important;
  }
  .review-teaser, .card, .testimonial-card, section {
    padding: 13px 4.5vw 12px 4.5vw;
  }
  .container {padding-left: 5px; padding-right: 5px;}
  .content-wrapper {gap: 14px;}
}

/* Z-INDEX Fixes (Mobile Menu) ---------- */
header {z-index: 30;}
.mobile-menu {z-index: 9990;}

/* UTILITY CLASSES ---------------------- */
.d-none {display: none !important;}
.mt-2 {margin-top: 16px !important;}
.mb-2 {margin-bottom: 16px !important;}
.mt-4 {margin-top: 32px !important;}
.mb-4 {margin-bottom: 32px !important;}

/* CUSTOM SCROLLBAR RETRO */
::-webkit-scrollbar {width:8px;background: #ede1cd;}
::-webkit-scrollbar-thumb {background-color:#D47437;border-radius:4px;}

/* PRINT STYLING (light) */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {display: none !important;}
  section {box-shadow: none; border: none; padding: 0 0 10px 0;}
}

/* VINTAGE RETRO TYPO EFFECTS ---------- */
h1, h2, h3 {text-shadow: 1px 1px 0 #e0c28e, 2px 2px 0 #f5f1ec, 0 1px 2px #EDCDA2;}
.cta, button, .badge-retro {
  text-shadow: 0.5px 0.5px 0 #baa269;
  letter-spacing: 1.5px;
}

/* -- END OF CSS -- */
