/* CSS RESET & BASE STYLES */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F7F5EE;
  color: #3B3024;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #18647E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B46A29;
}
ul, ol {
  padding-left: 1.5em;
}
button {
  font-family: inherit;
  cursor: pointer;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,26,25,0.07);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #F3D98B;
  text-align: left;
  font-size: 16px;
}
th {
  background: #F3D98B;
  color: #3B3024;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}
tr:last-child td {
  border-bottom: none;
}

/* VINTAGE RETRO ACCENT COLORS */
:root {
  --color-primary: #18647E;
  --color-secondary: #F3D98B;
  --color-accent: #FFFFFF;
  --color-cream: #F7F5EE;
  --color-retro-orange: #B46A29;
  --color-retro-green: #6D8754;
  --color-retro-red: #BF5950;
  --shadow-card: 0 3px 15px rgba(88, 78, 62, 0.14);
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #18647E;
  font-weight: 800;
  text-shadow: 1px 1px 0 #F3D98B;
  letter-spacing: 1.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #B46A29;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  font-size: 1.05rem;
  color: #3B3024;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #B46A29;
  background: #FFF8EA;
  padding: 16px 20px;
  margin-bottom: 14px;
  border-radius: 6px;
}
strong {
  font-weight: bold;
}
.subheadline {
  font-size: 1.3rem !important;
  color: #6D8754;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* GLOBAL CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Header Styling */
header {
  background: #FFF8EA url("data:image/svg+xml,%3Csvg width='140' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect fill='%23F3D98B' x='0' y='30' width='140' height='10'/%3E%3C/svg%3E") left bottom repeat-x;
  box-shadow: 0 2px 8px rgba(88, 78, 62, 0.07);
  border-bottom: 2px solid #F3D98B;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 20px 16px;
  gap: 20px;
}
header a img {
  height: 50px;
  padding-right: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #3B3024;
  padding: 8px 0;
  position: relative;
}
header nav a:hover, header nav a.active {
  color: #B46A29;
  text-shadow: 1px 1px 0 #F3D98B;
}
.btn-primary, .btn-secondary {
  appearance: none;
  border: none;
  outline: none;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  border-radius: 32px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(180, 106, 41, 0.14);
  transition: background 0.14s, color 0.14s, transform 0.13s, box-shadow 0.2s;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1.1px;
  position: relative;
}
.btn-primary {
  background: #B46A29;
  color: #fff;
  border: 2px solid #B46A29;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D08440;
  color: #FFF8EA;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #F3D98B;
  color: #B46A29;
  border: 2px solid #B46A29;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background: #B46A29;
  border-color: #B46A29;
  transform: translateY(-2px) scale(1.03);
}

/* --- MOBILE MENU (burger) --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.15rem;
  line-height: 1;
  background: none;
  border: none;
  color: #B46A29;
  margin-left: auto;
  z-index: 31;
  padding: 8px 16px;
  transition: color 0.2s, background 0.15s, transform 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #18647E;
  background: #F3D98B;
  border-radius: 50%;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF8EA;
  z-index: 30;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(.57,.21,.69,1.25);
  box-shadow: 4px 0 18px rgba(27,26,25,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #B46A29;
  padding: 24px 30px 8px 16px;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #18647E;
  background: #F3D98B;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
  padding: 0 36px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3B3024;
  font-size: 1.3rem;
  padding-bottom: 7px;
  padding-left: 5px;
  border-bottom: 1px dashed #F3D98B;
  transition: color 0.13s, background 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F3D98B;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 900px) {
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide mobile menu on desktop */
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* --- SECTIONS, CARDS, AND FLEX LAYOUTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF8EA;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(180, 106, 41, 0.05);
  border: 1.5px solid #F3D98B;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  border: 1.5px solid #F3D98B;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF8EA;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(180, 106, 41, 0.09);
  border: 1.5px solid #F3D98B;
  flex-direction: column;
}
.testimonial-card blockquote {
  color: #3B3024;
  font-size: 1.12rem;
  background: transparent;
  border: none;
  margin-bottom: 7px;
}
.testimonial-card footer {
  color: #6D8754;
  font-size: 0.96rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px 18px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  border: 1.2px solid #F3D98B;
  box-shadow: 0 1.5px 5px 0 rgba(180, 106, 41, 0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.feature-grid img {
  width: 40px;
  height: 40px;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: unset;
  }
}

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

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-question {
  background: #fff;
  border: 1.2px solid #F3D98B;
  border-radius: 8px;
  padding: 15px 17px;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 7px 0 rgba(180, 106, 41, 0.08);
}

/* --- FOOTER --- */
footer {
  background: #18647E;
  color: #fff;
  font-size: 1rem;
  border-top: 6px dotted #F3D98B;
  padding: 32px 0 10px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
footer nav a {
  color: #F3D98B;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #B46A29;
  text-decoration: underline;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  color: #fff;
  font-size: 1.01rem;
}
.contact-footer img {
  vertical-align: middle;
  margin-right: 6px;
  height: 16px;
}

@media (max-width: 700px) {
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* --- LISTS & UL STYLES (retro dots) --- */
ul, ol {
  margin-bottom: 1.3em;
}
ul li, ol li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 7px;
  line-height: 1.6;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  background: #B46A29;
  border-radius: 50%;
  display: inline-block;
}

/* TABLES - Already set above */

/* --- RESPONSIVE FLEX DIRECTION --- */
@media (max-width: 768px) {
  .section {
    padding: 25px 6px;
    border-radius: 10px;
  }
  .container {
    padding: 0 4px;
  }
  .content-grid,
  .card-container,
  .feature-grid,
  .testimonial-card,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 530px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
  .testimonial-card {
    font-size: 0.96rem;
  }
  .footer .contact-footer { font-size: 0.95rem; }
}

/* --- COOKIES CONSENT BANNER --- */
.cookies-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #3B3024;
  color: #FFF8EA;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 19px 14px 19px 14px;
  box-shadow: 0 -2px 24px 1px rgba(27,26,25,0.10);
  font-size: 1.07rem;
  transition: transform 0.38s cubic-bezier(.75,-0.01,.74,1.28), opacity 0.16s;
}
.cookies-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookies-banner .cookies-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookies-btn {
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-right: 5px;
  background: #F3D98B;
  color: #3B3024;
  cursor: pointer;
  transition: background 0.14s, color 0.16s, box-shadow 0.12s;
  box-shadow: 0 1px 6px rgba(180, 106, 41, 0.07);
}
.cookies-btn:last-child {
  margin-right: 0;
}
.cookies-btn.accept {
  background: #6D8754;
  color: #fff;
}
.cookies-btn.accept:hover {
  background: #B46A29;
  color: #fff;
}
.cookies-btn.reject {
  background: #BF5950;
  color: #fff;
}
.cookies-btn.reject:hover {
  opacity: 0.8;
  background: #912b25;
  color: #FFF8EA;
}
.cookies-btn.settings {
  background: #F3D98B;
  color: #3B3024;
}
.cookies-btn.settings:hover {
  background: #FFF8EA;
}
@media (max-width: 700px) {
  .cookies-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.01rem;
  }
  .cookies-banner .cookies-actions {
    gap: 10px;
    margin-top: 6px;
  }
}

/* COOKIES MODAL */
.cookies-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(59,48,36,0.40);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg .3s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookies-modal {
  background: #FFF8EA;
  color: #3B3024;
  border-radius: 18px;
  max-width: 400px;
  box-shadow: 0 5px 32px 0 rgba(180, 106, 41, 0.18);
  padding: 36px 32px 24px 32px;
  border: 2px solid #F3D98B;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.07rem;
  animation: fadeInModal .3s;
  position: relative;
}
@keyframes fadeInModal {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookies-modal h3 {
  color: #B46A29;
  font-size: 1.14rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookies-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cookies-modal .toggle {
  width: 38px;
  height: 20px;
  background: #F3D98B;
  border-radius: 12px;
  margin-right: 8px;
  position: relative;
  transition: background 0.13s;
}
.cookies-modal .toggle input[type="checkbox"] {
  display: none;
}
.cookies-modal .toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: #BF5950;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.19s;
}
.cookies-modal .toggle input[type="checkbox"]:checked + span {
  background: #6D8754;
  left: 19px;
}
.cookies-modal .essential {
  color: #6D8754;
  font-weight: 700;
}
.cookies-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem; color: #BF5950;
  cursor: pointer;
  transition: color 0.18s;
}
.cookies-modal-close:hover {
  color: #B46A29;
}

/* --- MICRO ANIMATIONS & EFFECTS --- */
.card, .feature-grid > div, .testimonial-card, .faq-question {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .faq-question:hover {
  box-shadow: 0 6px 22px 0 rgba(180,106,41,0.13);
  transform: translateY(-4px) scale(1.017);
}

/* --- RETRO PATTERNS/BORDERS --- */
.section {
  border-style: solid;
  border-width: 1.5px;
  border-color: #F3D98B #B46A29 #F3D98B #6D8754;
  box-shadow: 0 3px 28px 0 rgba(59,48,36,0.03);
  background-image: repeating-linear-gradient(135deg, #F3D98B, #FFF8EA 26px, #F3D98B 56px);
  background-size: 150% 220px;
  background-blend-mode: lighten;
}

/* Retro Image/Icon Styling */
section img, .content-wrapper img, .feature-grid img {
  filter: sepia(0.15) contrast(1.02);
  border-radius: 9px;
  box-shadow: 0 0.5px 4px 0 rgba(59,48,36,0.06);
  background: #F3D98B;
}

/* --- MISC UTILS & HIDING --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); border: 0;
}

/* --- END --- */