/* ====== 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, 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, main, 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-size: 16px;
}
body {
  background: #F2F0E9;
  color: #333d32;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
*, *:before, *:after {box-sizing: inherit;}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174764;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #5A972D;
  text-decoration: none;
  outline: none;
}

/* ====== Vintage Retro Brand Color Palette ====== */
:root {
  --color-primary: #174764;
  --color-secondary: #F2F0E9;
  --color-accent: #5A972D;
  --color-highlight: #E0C27B; /* Vintage gold */
  --color-dark: #2F241D; /* Deep brown for retro contrast */
  --color-card: #fff8e7; /* Light retro tan */
  --color-border: #D6CDB7; /* Muted border */
  --color-error: #c94c4c;
  --color-table-alt: #f4ead6;
}

/* ====== Typography ====== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
  letter-spacing: 0.03em;
}
h1 { font-size: 2.5rem; letter-spacing: 2px; }
h2 { font-size: 2rem; letter-spacing: 1.5px; }
h3 { font-size: 1.5rem; letter-spacing: 1.1px; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }
p, li, td, th, ul, ol { font-family: 'Roboto', Arial, sans-serif; font-weight: 400; }
strong { font-weight: 700; }
.text-section h1, .text-section h2, .text-section h3 { color: var(--color-dark); }

/* ====== Classic Patterns ====== */
body {
  /* Subtle retro dots pattern overlay */
  background-color: var(--color-secondary);
  background-image: radial-gradient(rgba(224,194,123,0.09) 1px, transparent 1px),radial-gradient(rgba(224,194,123,0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
}

/* ====== Layout Containers & Spacing ====== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(47,36,29,0.07);
  margin-bottom: 32px;
  padding: 32px 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(47,36,29,0.10);
  display: flex;
  flex-direction: column;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: 20px;
  background: #fff;
  border-left: 8px solid var(--color-accent);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px 0 rgba(47,36,29,0.10);
  min-width: 220px;
  max-width: 540px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ====== Button Styles ====== */
.cta-btn, button, .btn {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 28px;
  border: none;
  font-size: 1.125rem;
  box-shadow: 0 2px 10px 0 rgba(47,36,29,0.09);
  cursor: pointer;
  outline: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.15s;
  margin-top: 18px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus,
button:hover, button:focus {
  background: var(--color-primary);
  color: #fff8e7;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 16px 0 rgba(47,36,29,0.17);
}

/* Sub button (e.g. for cookie banners) */
.btn-secondary {
  background: var(--color-highlight);
  color: #2F241D;
  border: none;
  padding: 0.6rem 1.8rem;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #d9b77c;
  color: #174764;
}
.btn-text {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 20px;
  border: 1.5px dashed var(--color-primary);
}
.btn-text:hover, .btn-text:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(122,199,63,0.15);
}

/* ====== Header + Navigation ====== */
header {
  background: var(--color-primary);
  box-shadow: 0 3px 9px 0 rgba(23,71,100,0.06);
  position: sticky;
  top: 0;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 2px rgba(224,194,123,0.07));
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 0;
  letter-spacing: 1.2px;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-highlight);
  border-bottom: 2.5px solid var(--color-accent);
}
header .cta-btn {
  margin-top: 0;
  margin-left: 12px;
  background: var(--color-highlight);
  color: var(--color-dark);
  box-shadow: none;
  border: 1.5px solid var(--color-accent);
}
header .cta-btn:hover, header .cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ====== Mobile Menu Nav ====== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 22px;
  z-index: 400;
  background: var(--color-accent);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 12px 0 rgba(90,151,45,0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff8e7;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.61,0.01,0.45,0.97);
  box-shadow: 6px 0 32px 0 rgba(23,71,100,0.08);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  position: absolute;
  top: 25px; right: 24px;
  cursor: pointer;
  z-index: 10010;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 96px;
  gap: 26px;
  padding: 0 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 18px 0 6px 0;
  border-bottom: 1.5px solid #D6CDB7;
  width: 100%;
  letter-spacing: 1.1px;
  transition: color 0.15s, border 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
}

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

/* ====== Main Layout & Sections ====== */
main {
  min-height: 70vh;
  margin-bottom: 32px;
  margin-top: 16px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
  margin-top: 8px;
}
ul li, ol li {
  padding-bottom: 8px;
}
table {
  width: 100%;
  background: #fff8e7;
  border-collapse: collapse;
  box-shadow: 0 2px 14px 0 rgba(224,194,123,0.09);
  border-radius: 15px;
  overflow: hidden;
  margin: 18px 0 32px 0;
}
td, th {
  border: 0.5px solid var(--color-border);
  padding: 13px 18px;
  text-align: left;
  font-size: 1.1em;
}
tr:nth-child(even) {
  background: var(--color-table-alt);
}

/* Visual Divider Retro Style */
hr {
  border: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--color-highlight), var(--color-highlight) 24px, transparent 24px, transparent 40px);
  opacity: 0.5;
  margin: 52px 0;
  border-radius: 4px;
}

/* ====== Footer ====== */
footer {
  background: #fff8e7;
  border-top: 3px solid var(--color-highlight);
  padding: 30px 0 16px 0;
  box-shadow: 0 -3px 24px 0 rgba(47,36,29,0.03);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 1.2px;
  text-decoration: underline;
  opacity: 0.88;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer p {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #8b7b57;
}

/* ====== Form Elements ====== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 14px;
  margin-top: 3px;
  background: #fff8e7;
  margin-bottom: 18px;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

/* ====== Testimonials ====== */
.testimonial-card {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #221A12;
  background: #fff8e7;
  border-left: 7px solid var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(23,71,100,0.04);
  margin-bottom: 28px;
  padding: 22px 25px 18px 24px;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card p:last-child {
  margin-bottom: 0;
}
.testimonial-card::after {
  content: '\201D';
  color: var(--color-highlight);
  font-size: 2.8rem;
  position: absolute;
  right: 18px;
  bottom: 10px;
  opacity: 0.13;
  pointer-events: none;
  font-family: Georgia, Times, 'Times New Roman', serif;
}

/* Accessible contrast for testimonial section */
.section .testimonial-card {
  background: #fff;
  color: #221A12;
  border-left: 8px solid var(--color-accent);
}

/* ====== Vintage Details & Extras ====== */
.content-wrapper {
  border: 2px dashed var(--color-border);
  position: relative;
}
.content-wrapper::before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 32px;
  width: 66px; height: 14px;
  background: repeating-linear-gradient(90deg,var(--color-highlight),var(--color-highlight) 7px,transparent 7px,transparent 14px);
  opacity: 0.32;
  border-radius: 10px 10px 0 0;
}
.content-wrapper.text-section::before {
  left: 16px;
  width: 48px;
}

/* ====== Cookie Consent Banner & Modal ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF8E7;
  color: var(--color-dark);
  border-top: 4px solid var(--color-accent);
  box-shadow: 0 -2px 20px 0 rgba(68,58,39,0.05);
  z-index: 12010;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 15px 20px 15px;
  font-size: 1rem;
  animation: cookieBannerFadeIn 0.45s cubic-bezier(.56,-0.09,.42,1.13);
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 1;
  min-width: 160px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  min-width: 130px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 13000;
  background: rgba(47,36,29,0.18);
  animation: fadeInOverlay 0.24s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.96);
  background: #fff8e7;
  border-radius: 22px;
  box-shadow: 0 8px 42px 0 rgba(47,36,29,0.13);
  z-index: 13005;
  width: 96vw;
  max-width: 420px;
  padding: 30px 28px 24px 28px;
  transition: transform 0.18s cubic-bezier(0.84,0.09,0.57,1.1);
  animation: cookieModalPop 0.36s;
}
@keyframes cookieModalPop {
  from { transform: translate(-50%,-50%) scale(0.7); opacity: 0; }
  to { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 21px;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-align: center;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 1.08rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type=checkbox]:disabled + label {
  color: #bc8d1c;
  opacity: 0.64;
}
.cookie-modal .modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-modal .btn {
  min-width: 110px;
}


/* ====== Responsive Design (Mobile-First) ====== */
@media (max-width: 990px) {
  .container {
    max-width: 96vw;
    padding: 0 9px;
  }
  .content-wrapper {
    padding: 22px 8px;
    margin-bottom: 22px;
  }
  .card {
    padding: 20px 12px;
  }
  .card-container, .content-grid {
    gap: 16px;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 4px;
  }
  .footer .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.12rem; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 15px 3px 21px 3px;
  }
  .testimonial-card {
    min-width: unset; max-width: unset;
    font-size: 1rem;
    padding: 17px 12px 14px 13px;
  }
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 7px 14px 7px;
  }
}

/* ====== Animations and Micro-Interactions ====== */
.card, .testimonial-card, .cta-btn, .btn, .cookie-banner button, .cookie-modal, .mobile-menu {
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow: 0 6px 28px 0 rgba(224,194,123,0.14);
}

/* Focus states for usability */
.cta-btn:focus, .btn:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 1.5px;
}

/* ====== Utility Classes ====== */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* ====== Accessibility ====== */
:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}

/* ====== Hide visually but remain accessible ====== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ====== END ====== */
