/* ----- 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, 
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; border: 0; }
button, input, textarea, select { font: inherit; }

/* ----- FONT IMPORTS ----- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --color-primary: #28435F;
  --color-secondary: #A6C453;
  --color-accent: #F1F5F3;
  --color-bg: #fff;
  --color-text: #1E293B;
  --color-muted: #6B7280;
  --shadow: 0 2px 16px 0 rgba(40,67,95,0.06);
  --border-radius: 12px;
  --gap-base: 20px;
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

/* ----- BASE TYPOGRAPHY ----- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
.subheadline {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
}
p, blockquote, ul, ol {
  margin-bottom: 14px;
  font-size: 1rem;
}
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-secondary);
  padding-left: 16px;
  margin-top: 12px;
  margin-bottom: 12px;
  background: #F9FBF8;
}

small { color: var(--color-muted); font-size: 0.97rem; }

/* ----- CONTAINER, SECTIONS, SPACING ----- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--border-radius);
}

/* Rich flex layout patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(40,67,95,0.1);
}
.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: #F9FBF8;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 580px;
  min-width: 240px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 16px 0 rgba(40,67,95,0.14);
}
.testimonial-content { display: flex; flex-direction: column; gap: 8px; }
.star-rating { color: var(--color-secondary); font-size: 1.25rem; }
.feature-item {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 15px;
}

/* -- Utility spacing on lists, etc. -- */
.benefit-list, .city-overview-list, .tip-list, .highlights-list, .core-values {
  margin-bottom: 28px;
  margin-top: 12px;
  padding-left: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.benefit-list li:before, .city-overview-list li:before, .tip-list li:before, .highlights-list li:before, .core-values li:before {
  content: '•';
  color: var(--color-secondary);
  margin-right: 8px;
}

/* ----- BUTTONS & LINKS ----- */
.cta-btn,
button,
input[type="submit"],
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  display: inline-block;
  box-shadow: 0 1px 4px 0 rgba(40,67,95,0.05);
  outline: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 2px 12px 0 rgba(166,196,83,0.12);
  text-decoration: none;
}

nav.main-nav a, .footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-right: 24px;
  position: relative;
  transition: color 0.18s;
}
nav.main-nav a:last-child, .footer-nav a:last-child {
  margin-right: 0;
}
nav.main-nav a:hover, nav.main-nav a:focus, .footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}

/* Quicklinks */
.quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.quicklinks a {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 20px;
  padding: 10px 22px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.quicklinks a:hover, .quicklinks a:focus { background: var(--color-secondary); color: #fff; }

/* ----- HEADER / NAVIGATION BAR ----- */
header {
  background: var(--color-bg);
  box-shadow: 0 1px 8px 0 rgba(40,67,95,0.05);
  position: relative;
  margin-bottom: 10px;
}
header .container {
  padding: 14px 20px 14px 20px;
}
header .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img { max-height: 44px; }
nav.main-nav {
  display: flex;
  gap: 20px;
}

/* ---- HERO / MAIN SECTIONS ---- */
.hero, .thank-you, .legal {
  padding: 40px 0 40px 0;
  margin-bottom: 0;
}
.hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.hero .subheadline {
  margin-bottom: 18px;
}

/* ----- FEATURES & FEATURE GRID ----- */
.features, .features-grid, .feature-grid {
  margin: 0 0 40px 0;
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
}
.feature-grid,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 350px;
  padding: 30px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature:hover {
  box-shadow: 0 2px 10px 0 rgba(166,196,83,0.10), var(--shadow);
  transform: translateY(-2px) scale(1.02);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature h3 {
  color: var(--color-primary);
  font-size: 1.16rem;
  margin-bottom: 10px;
}

/* ----- SERVICES / TILES ----- */
.service-tiles, .route-tiles, .team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 24px 0;
}
.service, .route, .bio {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 320px;
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.15s;
  margin-bottom: 20px;
}
.service:hover, .route:hover, .bio:hover {
  box-shadow: 0 2px 14px 0 rgba(40,67,95,0.10);
  transform: translateY(-2px);
}

/* ----- ABOUT & PHILOSOPHY ----- */
.about .philosophy {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  padding: 18px 20px;
  margin-top: 32px;
  color: var(--color-primary);
  font-style: italic;
  font-size: 1.03rem;
}

/* ----- TESTIMONIALS ----- */
.testimonials .content-wrapper {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  min-width: 260px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px 22px;
}
.testimonial-card p {
  color: var(--color-primary);
}

/* ----- CONTACT BLOCKS ----- */
.contact-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 22px 0;
}
.address-block,
.phone-block,
.email-block,
.hours-block {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 300px;
  padding: 20px 14px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 20px;
}

/* ----- FOOTER ----- */
footer {
  background: var(--color-accent);
  padding: 38px 0 18px 0;
  box-shadow: 0 -1px 6px 0 rgba(40,67,95,0.04);
  margin-top: 60px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin: 14px 0;
}
.footer-contact {
  font-size: 0.96rem;
  color: var(--color-primary);
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: -3px;
}
footer img {
  max-height: 34px;
  margin-bottom: 10px;
}

/* ----- MOBILE MENU ----- */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1010;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--transition);
  border: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,67,95,0.97);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 24px 0 rgba(40,67,95,0.17);
  padding: 35px 24px 0 24px;
  opacity: 1;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  margin-right: 4px;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 0 30px 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 600;
  padding: 16px 12px;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition);
  margin: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* ----- COOKIE CONSENT BANNER ----- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 18px 0 rgba(40,67,95,0.11);
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-radius: 20px 20px 0 0;
  opacity: 1;
  transition: bottom 0.34s cubic-bezier(.5,0,.25,1), opacity 0.24s;
  font-size: 1.04rem;
  max-width: 480px;
  width: 97vw;
  margin-left: auto;
  margin-right: auto;
}
.cookie-banner.hide { opacity: 0; bottom: -120px; pointer-events: none; }
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin: 0 2px 0 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept { background: var(--color-secondary); color: var(--color-primary); }
.cookie-btn.reject { background: var(--color-muted); color: #fff; }
.cookie-btn.settings { background: var(--color-accent); color: var(--color-primary); }
.cookie-btn:hover, .cookie-btn:focus { filter: brightness(1.09); box-shadow: 0 2px 8px rgba(166,196,83,0.11); }

/* ----- COOKIE MODAL ----- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40,67,95,0.67);
  opacity: 1;
  transition: opacity 0.27s;
  pointer-events: auto;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 36px rgba(40,67,95,0.16);
  padding: 36px 26px 26px 26px;
  max-width: 380px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.26rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: left var(--transition), background var(--transition);
}
.cookie-switch input:checked + .slider {
  left: 18px;
  background: var(--color-secondary);
}
.cookie-category.essential .cookie-switch { opacity: 0.5; pointer-events: none; }
.cookie-modal-content .modal-actions {
  display: flex; gap: 14px; margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 14px;
  background: transparent; border: none;
  color: var(--color-muted);
  font-size: 1.60rem;
  cursor: pointer;
  padding: 0;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--color-primary); }

/* ----- MISC ELEMENTS ----- */
label, strong { color: var(--color-primary); font-weight: 600; }

/* ----- RESPONSIVE DESIGN: MOBILE-FIRST ----- */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  html { font-size: 15px; }
  .container { max-width: 100vw; }
  header .content-wrapper { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav.main-nav, .footer-nav { gap: 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container { padding: 14px 10px; }
  header .content-wrapper { flex-direction: row; gap: 6px; }
  .main-nav { display: none; }
  .cta-btn { margin-left: auto; }
  .mobile-menu-toggle { display: flex; }
  section, .section { padding: 36px 8px; margin-bottom: 44px; }
  .card-container, .feature-grid, .features-grid, .service-tiles, .route-tiles, .team-bios, .contact-blocks {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .content-grid { flex-direction: column; gap: 14px; }
  .footer-contact { font-size: 0.95rem; }
  footer .content-wrapper { flex-direction: column; align-items: flex-start; gap: 20px; }
  .thank-you ul { padding-left: 8px; }
  .testimonial-card { max-width: 98vw; }
  .cookie-banner { left: 0; right: 0; padding: 18px 4vw; border-radius: 11px 11px 0 0; bottom: 0; }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
  .container { padding: 0 5px; }
}

/* ----- UTILITY CLASSES ----- */
.hide, .hidden { display: none !important; }
.show { display: block !important; }

/* ----- FORM ELEMENTS (if necessary) ----- */
input, textarea, select {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border var(--transition);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid var(--color-secondary);
}

/* ----- TRANSITIONS ----- */
.card, .feature, .cta-btn, .service, .route, .bio, .testimonial-card, .footer-nav a, .main-nav a, .quicklinks a, .mobile-nav a, .cookie-btn {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.16s;
}

/* Ensure adequate spacing below all major sections */
.section, .hero, .cta { margin-bottom: 60px; }

/* ----- VISUAL HIERARCHY & MICRO-INTERACTIONS ----- */
.card:hover, .feature:hover, .service:hover, .route:hover, .bio:hover {
  box-shadow: 0 2px 24px rgba(40,67,95,0.18);
  transform: translateY(-2px) scale(1.02);
}


/* --- CRITICAL: Prevent any overlapping by extra spacing --- */
.feature, .service, .route, .bio, .testimonial-card, .address-block, .phone-block, .email-block, .hours-block {
  margin-bottom: 20px;
}

/* END */
