/* --- 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, menu, 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, 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;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #24334A;
  background: #F5F6FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ul, ol {list-style: none;}
a {text-decoration: none; color: inherit;}
img {max-width: 100%; display: block;}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* --- CSS VARIABLES (with fallbacks) --- */
:root {
  --color-primary: #24334A;
  --color-secondary: #D9A85C;
  --color-accent: #F5F6FA;
  --color-vintage-teal: #517376;
  --color-vintage-coral: #E7866A;
  --color-vintage-brown: #B5A17A;
  --color-vintage-cream: #F9E7D3;
  --shadow: 0 4px 24px rgba(36,51,74,0.06);
  --shadow-card: 0 2px 10px rgba(36,51,74,0.07);
  --radius: 12px;
  --font-display: 'Montserrat', 'Arial Black', 'Arial', Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- RETRO/VINTAGE PATTERNS & COLORS --- */
body {
  background: var(--color-accent, #F5F6FA);
  font-family: var(--font-body);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F9E7D3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: .01em;
  font-weight: 800;
  text-shadow: 1px 2px 0 #D9A85C22;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-top: 12px;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, .text-section {
  font-family: var(--font-body);
  color: #333b40;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {font-weight: bold; color: var(--color-primary);}

ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
  list-style-type: disc;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 8px;
}
ul li::marker, ol li::marker {color: var(--color-secondary); font-size: 18px;}

@media (max-width: 600px) {
  h1 {font-size: 1.7rem;}
  h2 {font-size: 1.3rem;}
}

blockquote {
  font-style: italic;
  color: var(--color-vintage-teal);
  border-left: 4px solid var(--color-vintage-coral);
  padding-left: 20px;
  margin: 12px 0 12px 0;
}

.text-section {
  padding: 12px 0 8px 0;
  margin-bottom: 12px;
}

/* --- NAVIGATION --- */
header {
  background: var(--color-vintage-cream);
  box-shadow: var(--shadow);
  z-index: 12;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 20px;
  font-family: var(--font-display);
  background: transparent;
}
.main-nav a {
  font-size: 1.08rem;
  padding: 10px 20px;
  border-radius: 22px;
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s, box-shadow .18s;
  font-weight: 600;
  position: relative;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 24px;
  margin-left: 0;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  background: var(--color-vintage-coral);
  color: #fff;
  box-shadow: 1px 2px 0 #E7866A22;
}
.main-nav .cta-btn {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 32px;
  font-size: 1.08rem;
  margin-left: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-secondary);
  transition: background 0.22s, color 0.22s, box-shadow .18s, border .16s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 3px 18px rgba(36,51,74,0.13);
}

/* --- MOBILE NAV BURGER --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  z-index: 110;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .2s, color .2s, box-shadow .18s;
  box-shadow: 0 4px 12px #24334A18;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-vintage-coral);
  color: #fffbe8;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(.53,.11,.18,.99);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  box-shadow: 0 6px 32px rgba(36,51,74,0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  z-index: 1666;
  cursor: pointer;
  padding: 0 6px;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-vintage-coral);
  color: var(--color-vintage-cream);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 95vw;
  margin-top: 64px;
  padding: 0 14px;
}
.mobile-nav a {
  padding: 17px 20px;
  color: #fff;
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 22px;
  margin-bottom: 6px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav a:last-child {margin-bottom: 0;}

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

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(135deg, #E7866A1B 0%, #D9A85C12 42%, #F5F6FA 100%);
  border-radius: var(--radius);
  margin-bottom: 60px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 40px 0 32px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--color-primary);
  font-family: var(--font-display);
  letter-spacing: .04em;
  font-size: 2.8rem;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 var(--color-secondary);
}
.hero p {
  font-size: 1.33rem;
  max-width: 720px;
}
@media (max-width: 600px) {
  .hero h1 {font-size: 1.6rem;}
}

/* --- BUTTONS --- */
.cta-btn, .btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.09rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .05em;
  border-radius: 32px;
  box-shadow: 0 2px 10px #D9A85C12;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
  transition: background .19s, color .14s, border .13s, box-shadow .12s, transform .14s;
}
.cta-btn:hover, .cta-btn:focus, .btn:hover, .btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 3px 16px #24334A2B;
  transform: translateY(-2px) scale(1.03);
}

/* --- FLEXBOX CONTENT LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 370px;
  background: #fffced;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px 20px 12px 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;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/***** Testimonial Cards *****/
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 2px dashed var(--color-vintage-brown);
  box-shadow: 0 2px 12px #24334A0B;
  border-radius: var(--radius);
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 28px;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #24334A;
  font-style: italic;
}
.testimonial-card .text-section {
  margin-bottom: 0;
  color: var(--color-vintage-coral);
  font-family: var(--font-display);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 10px;
  }
}

/***** Features and List Items *****/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 0;
}

/***** Decorative Retro Patterns *****/
.section {
  position: relative;
  background: repeating-linear-gradient(135deg, #F9E7D3, #F9E7D3 32px, #E7866A11 33px, #E7866A11 48px);
  border: 1.5px solid #B5A17A22;
  box-shadow: var(--shadow);
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 30px;
  width: 70px; height: 8px;
  background: repeating-linear-gradient(90deg, #D9A85C 0, #D9A85C 20px, #F5F6FA 21px, #F5F6FA 40px);
  opacity: 0.17;
  border-radius: 6px 6px 0 0;
  pointer-events: none;
}

/***** Map Placeholder Styling *****/
.map-placeholder {
  background: repeating-linear-gradient(135deg, #E7866A13, #D9A85C1a 20px, #F9E7D3 21px, #F9E7D3 40px);
  border: 2px solid var(--color-secondary);
  padding: 32px 12px;
  border-radius: 16px;
  color: var(--color-primary);
  box-shadow: 0 2px 10px #D9A85C11;
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 24px;
}

/***** Footer *****/
footer {
  background: #24334A;
  color: #F9E7D3;
  box-shadow: 0 0 18px #0002;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: 64px;
  padding: 20px 0 14px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 14px 0 8px 0;
}
.footer-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #F9E7D3;
  opacity: .85;
  padding: 7px 14px;
  border-radius: 20px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
footer .text-section p {
  color: #F9E7D3;
  opacity: .92;
  font-size: 1rem;
  text-align: center;
  margin-top: 6px;
}

/***** Cookie Consent Banner *****/
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffced;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -2px 24px #24334A22;
  z-index: 2200;
  padding: 22px 10px 18px 10px;
  gap: 12px;
  font-size: 1rem;
  animation: banner-in 0.8s cubic-bezier(.7,-0.44,.16,1.29);
}
@keyframes banner-in {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner .btn, .cookie-banner .cta-btn {
  padding: 8px 26px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.cookie-banner .btn.accept {
  background: var(--color-secondary);
  color: #fff;
  border: 2px solid var(--color-secondary);
}
.cookie-banner .btn.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .btn.settings {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
}
.cookie-banner .btn:hover, .cookie-banner .cta-btn:hover, .cookie-banner .btn:focus, .cookie-banner .cta-btn:focus {
  background: var(--color-vintage-coral);
  color: var(--color-vintage-cream);
  border-color: var(--color-vintage-coral);
}

/***** Cookie Preferences Modal *****/
.cookie-modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #24334AEE;
  backdrop-filter: blur(2px);
  z-index: 2600;
  animation: cookie-modal-in 0.5s cubic-bezier(.7,-0.44,.16,1.29);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 38px 22px 28px 22px;
  max-width: 96vw;
  width: 400px;
  box-shadow: 0 6px 32px #24334A22;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  animation: cookie-cnt-in 0.47s cubic-bezier(.68,-0.44,.12,1.29);
}
@keyframes cookie-cnt-in {
  from {transform: scale(0.94); opacity: 0.6;}
  to {transform: none; opacity: 1;}
}
.cookie-modal-content h2 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-cats {
  width:100%;
  margin: 18px 0 15px 0;
}
.cookie-cat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-cat-row .status {
  font-size: 0.98rem;
  border-radius: 10px;
  padding: 2px 11px;
  margin-left: 10px;
  background: #F9E7D3;
  color: var(--color-vintage-teal);
  font-weight: 700;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-secondary);
  margin-right: 8px;
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: #B5A17A;
  opacity: 0.85;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  border-radius: 50%;
  width: 38px; height: 38px;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-secondary);
  color: #fff;
}

/***** Utilities for Spacing & Alignment *****/
@media (min-width: 850px) {
  .section {
    padding: 60px 48px;
  }
  .container {
    padding: 0 32px;
  }
}

/***** Responsive Spacing *****/
@media (max-width: 900px) {
  .section {padding: 32px 10px;}
}
@media (max-width: 600px) {
  .section {padding: 24px 5px;}
  .container {padding: 0 3vw;}
}

/***** Misc. Elements *****/
a {
  cursor: pointer;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--color-vintage-coral);
}

/***** Animations for Cards & Sections *****/
.section, .content-wrapper, .testimonial-card, .card, .cookie-banner, .cta-btn, .btn {
  transition: box-shadow .16s, background .20s, color .16s, transform .19s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px #51737626;
  background: #FFF7E2;
}

/***** Accessibility & Contrast - Testimonials *****/
.testimonial-card p, .testimonial-card .text-section {
  color: #24334A;
  background: none;
  font-size: 1.08rem;
  font-family: var(--font-body);
}

/***** High Contrast for Review Sections *****/
.testimonial-card {
  border: 2px dashed var(--color-vintage-brown);
  background: #fff;
  color: #24334A;
}

/***** SCROLLBAR Styling - Vintage Accent *****/
::-webkit-scrollbar {
  width: 11px;
  background: #F9E7D3;
}
::-webkit-scrollbar-thumb {
  background: #D9A85C;
  border-radius: 6px;
  border: 2px solid #F5F6FA;
}

/***** Retro Badge/Etiquette Styles (if needed for new elements) *****/
.badge, .etiquette {
  display: inline-block;
  background: var(--color-vintage-coral);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 16px 5px 16px;
  margin: 0 4px;
  letter-spacing: .05em;
  box-shadow: 0 2px 6px #E7866A19;
}

/***** Hide Decorative or Unused Elements on Mobile if crowded *****/
@media (max-width: 480px) {
  .section::after {display: none;}
}

/***** Focus Styles for Accessibility *****/
a, button, input, select, textarea, .cta-btn, .btn {
  outline: none;
}
:focus-visible {
  outline: 2.5px dashed var(--color-secondary);
  outline-offset: 3px;
}
