/* RESET & BASE TYPOGRAPHY - MOBILE FIRST */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F9F6F2;
  color: #3D2E1E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #F2F3F8;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #B8001C;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86151a;
  text-decoration: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  color: #B8001C;
  letter-spacing: 0.015em;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
p, dl, dt, dd, small {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p, dl, dt, dd {
  font-size: 1rem;
  margin-bottom: 16px;
}
em {
  font-style: italic;
}

/* FLEXIBILITY: CONTAINER & MAIN STRUCTURE */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* SECTION AND LAYOUT SPACING PATTERNS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff8f1;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(153,107,80,0.07);
  border: 2px solid #F2F3F8;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #fff8f1;
  border: 1.5px solid #DEC190;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 16px 0 rgba(120,90,60,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 24px 20px;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(153,107,80,0.16);
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fffcfa;
  border-left: 6px solid #B8001C;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(120,90,60,0.06);
  padding: 20px;
  min-width: 240px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  flex: 1 1 320px;
  min-width: 0;
}

/* BUTTONS + PRIMARY STYLES */
.btn-primary {
  background-color: #B8001C;
  color: #fff8f1;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.125rem;
  border: none;
  border-radius: 28px;
  padding: 16px 36px;
  margin: 8px 0 0 0;
  letter-spacing: 0.055em;
  box-shadow: 0px 2px 12px rgba(184,0,28,0.16);
  transition: background .2s, color .2s, transform .2s, box-shadow .3s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #930016;
  color: #fff8f1;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0px 8px 24px rgba(131,19,32,0.19);
}

/* HEADER & NAVIGATION */
header {
  background: #FFF6EC;
  border-bottom: 2.5px solid #DEC190;
  box-shadow: 0 2px 12px 0 rgba(153,107,80,0.04);
  position: sticky; top: 0; z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 42px;
  margin-right: 12px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 600;
  color: #B8001C;
  background: transparent;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing:0.04em;
}
header nav a:hover, header nav a:focus {
  background: #F2DDBC;
  color: #131930;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  background: #B8001C;
  color: #fff8f1;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  box-shadow: 0 2px 12px rgba(184,0,28,0.14);
  transition: background .2s, color .2s, transform .18s;
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 210;
}
.mobile-menu-toggle:active {
  background: #930016;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFF6EC;
  box-shadow: 0 0 100px rgba(70,50,0,0.21);
  transform: translateX(-110%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin-top: 26px;
  margin-left: 30px;
  margin-bottom: 32px;
  align-self: flex-start;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #B8001C;
  cursor: pointer;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2DDBC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 6px;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  color: #B8001C;
  font-size: 1.1rem;
  padding: 16px 20px 16px 0px;
  border-radius: 0 20px 20px 0;
  margin-bottom: 4px;
  text-decoration: none;
  transition: background .16s, color .16s;
  width: 80vw;
  max-width: 360px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2DDBC;
  color: #131930;
}

/* HIDE NAV ON MOBILE BY DEFAULT, BURGER VISIBLE */
header nav { display: none; }
.mobile-menu-toggle { display: flex; }

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

/* FOOTER */
footer {
  background: #edd1b6;
  border-top: 2.5px solid #DEC190;
  padding: 32px 0 18px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  color: #B8001C;
  font-size: 0.98rem;
  text-decoration: none;
  opacity: 0.88;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background .15s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  background: #F2DDBC;
  color: #131930;
}
footer small {
  color: #373232;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  opacity: 0.82;
}

/* TESTIMONIALS & CARDS */
.testimonial-card p {
  color: #3D2E1E;
  font-size: 1rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #B8001C;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
}
/* Nested content card lists etc */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* FAQ (dl/dt/dd) style */
dl {
  background: #FFF6EC;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(132,99,78,0.06);
  padding: 20px 20px 8px 20px;
}
dt {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  color: #B8001C;
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-weight: 700;
  margin-top: 10px;
}
dd {
  color: #3D2E1E;
  margin-left: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

/* VINTAGE / RETRO NOSTALGIA PATTERNS & EFFECTS */
section, .testimonial-card, .card {
  background-image: repeating-linear-gradient(-45deg, #FAEEE3 0px, #FAEEE3 14px, #FFE2BE 14px, #FFE2BE 20px);
  background-blend-mode: lighten;
}

section:nth-child(even) {
  background: #F6E6D9;
  border-color: #DDCFC1;
}

section h2 {
  border-bottom: 3px dashed #B8001C;
  padding-bottom: 6px;
  margin-bottom: 20px;
  font-family: 'Montserrat', cursive, serif;
  font-weight: 900;
  font-size: 1.8rem;
  background: linear-gradient(90deg, #B8001C 60%, #E8B98F 100%);
  background-clip: text; color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* SHADOWS & RETRO INSET */
.card, .testimonial-card {
  box-shadow: 0 1.5px 13px rgba(140, 95, 60, 0.09), 0 0.5px 0 #efd7bb inset;
}

/* RETRO BADGE / LIST ICONS */
ul li:before {
  content: '\2022';
  color: #B8001C;
  font-size: 1.2em;
  margin-right: 10px;
  font-weight: 800;
}
ul li strong {
  color: #B8001C;
  font-family: 'Montserrat', cursive, serif;
  font-weight: 800;
}
ul li span {
  color: #5A4A2F;
  background: #F8E4CB;
  border-radius: 6px;
  padding: 2px 7px;
  margin-left: 5px;
  font-size: 0.92em;
}
/* Show checkmark for specific check list features */
section ul li:has(> .fa-check), section ul li:contains('✔️') {
  color: #114b16;
}

/* FORMS, LABELS, TABLES (for future) */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 8px;
  border: 1.5px solid #DEC190;
  padding: 9px 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  background: #FFF8F1;
}
label {
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  color: #B8001C;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* GENERAL RESPONSIVE LAYOUTS, FLEXBOX ENFORCED */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 38px;
    padding: 26px 9px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .testimonial-card {
    font-size: 1rem;
    padding: 12px;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 13px 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid, .feature-item {
    flex-direction: column;
    gap: 14px;
  }
  .card { padding: 14px 11px; }
}

@media (max-width: 480px) {
  .container {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .btn-primary {
    width: 100%;
    min-width: 0;
  }
  .testimonial-card, .card {
    min-width: 0px;
    font-size: 0.97rem;
    padding: 9px 7px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .btn-primary {
  transition: box-shadow 0.18s, background 0.18s, transform .18s;
}
ul li, .feature-item {
  transition: background 0.17s;
}
ul li:hover, .feature-item:hover {
  background: #F2DDBC;
}

/* COOKIE CONSENT BANNER (Fixed at bottom) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFFCE5;
  border-top: 3px solid #DEC190;
  box-shadow: 0 -6px 22px rgba(120,90,60,0.11);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 18px 10px;
  gap: 18px;
  transition: transform 0.3s, opacity 0.32s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  color: #3D2E1E;
  font-size: 1rem;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-cookie {
  background: #B8001C;
  color: #fff8f1;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  margin: 6px 0;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .btn-cookie.secondary {
  background: #ede3d1;
  color: #B8001C;
  border: 1.5px solid #DEC190;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #930016;
  color: #fff8f1;
}
.cookie-banner .btn-cookie.secondary:hover, .cookie-banner .btn-cookie.secondary:focus {
  background: #DEC190;
  color: #131930;
}

/* Cookie settings modal popup */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-53%) scale(1);
  background: #FFF6EC;
  box-shadow: 0 16px 64px rgba(70,50,0,0.15), 0 1.5px 0 #efd7bb inset;
  border-radius: 19px;
  border: 2px solid #DEC190;
  padding: 34px 22px 26px 22px;
  z-index: 6000;
  display: none;
  max-width: 350px;
  width: 90vw;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  animation: popin 0.29s cubic-bezier(0.67,0.31,0.26,1.16);
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #B8001C;
  margin-bottom: 12px;
}
.cookie-modal .cookie-cat {
  font-size: 1.04rem;
  color: #3D2E1E;
  margin-bottom: 4px;
}
.cookie-modal .cookie-toggle {
  margin-left: 7px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}
@keyframes popin {
  0% {opacity: 0; transform: translate(-50%,-58%) scale(0.9);}
  100% {opacity: 1;}
}

/* Misc. */
::-webkit-scrollbar {
  width: 9px;
  background: #F8E5C7;
}
::-webkit-scrollbar-thumb {
  background: #E8B98F;
  border-radius: 10px;
  border: 2px solid #F2F3F8;
}

/* Alert colors for accessibility */
.cookie-banner, .testimonial-card, .card {
  color-scheme: only light;
}

/* Retro Patterns for Heading */
h1, h2, h3 {
  text-shadow: 2px 2px #DEC190, 0 2px #FFF8F1;
}

/* Print logo should look vintage */
header img { filter: sepia(0.19) contrast(1.08) brightness(1.08) drop-shadow(0 4px 14px #E8B98F); }

/* Anim slide for menu */
.mobile-menu,
.cookie-banner, .cookie-modal { will-change: transform, opacity; }

/* Misc fix for content space */
main { margin-bottom: 90px; }


/* --- END --- */
