/* ----------------------------------------------------------------------
   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, font, 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, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font: inherit; box-sizing: border-box; vertical-align: baseline;
}
html {
  font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh; background: #f5f7fa; color: #184A64; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 400; line-height: 1.6;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6, strong { font-family: 'Merriweather', Georgia, 'Times New Roman', serif; font-weight: 700; color: #184A64; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
button { cursor: pointer; background: none; border: none; outline: none; }
::-webkit-input-placeholder { color: #666; opacity:1; } ::-moz-placeholder { color: #666; opacity:1; } :-ms-input-placeholder { color: #666; opacity:1; } ::placeholder { color: #666; opacity:1; }

/* ----------------------------------------------------------------------
   CSS VARIABLES (with fallback)
----------------------------------------------------------------------*/
:root {
  --primary: #184A64;
  --primary-dark: #103046;
  --secondary: #D1BFA3;
  --accent: #267171;
  --heading: #184A64;
  --bg: #f5f7fa;
  --white: #fff;
  --text: #184A64;
  --shadow: 0 2px 12px rgba(24,74,100,0.10);
  --radius: 12px;
  --spacing-xs: 8px;
  --spacing-s: 16px;
  --spacing-m: 24px;
  --spacing-l: 40px;
  --spacing-xl: 60px;
}

/* ----------------------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------------------*/
h1 {
  font-size: 2.5rem; margin-bottom: 24px; line-height: 1.2; letter-spacing: -1px;
}
h2 {
  font-size: 2rem; margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem; margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem; margin-bottom: 8px;
}
strong, b {
  font-family: 'Merriweather', Georgia, serif; font-weight: 700;
}
p, li {
  font-size: 1rem;
}
blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  margin: 16px 0 24px 0;
}

.tagline {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ----------------------------------------------------------------------
   CONTAINER, LAYOUT, FLEXBOX
----------------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px; padding: 40px 20px;
}

.card-container, .feature-grid, .icon-grid, .card-grid, .blog-teasers, .route-grid, .faq-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .testimonial-card, .value-list > li, .faq-list > li, .route-grid > li, .blog-teasers > article {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafdff;
  border: 1.5px solid var(--accent);
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-menu, .social-links, .contact-info, .category-filters, .map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

/* ----------------------------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------------------------*/
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(24,74,100,0.07);
  position: sticky;
  top: 0; z-index: 20;
  min-height: 68px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.logo img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--primary);
  font-size: 1rem;
  position: relative;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus { color: var(--accent); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  transition: background 0.24s, box-shadow 0.18s;
  box-shadow: 0 2px 6px rgba(24,74,100,0.08);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-left: 24px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(24,74,100,0.13);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-left: 24px;
  z-index: 22;
  min-width: 40px; min-height: 40px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,.mobile-menu-toggle:hover{color:var(--accent);}

/* ----------------- MOBILE MENU ----------------------- */
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24,74,100,0.15);
  animation: slideInMenu 0.24s ease;
}
@keyframes slideInMenu {
  from {transform:translateX(100%); opacity:0;}
  to {transform:translateX(0); opacity:1;}
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--primary);
  z-index: 103;
  background: none;
  border: none;
  width: 44px; height: 44px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 80px;
  gap: 28px;
  padding: 20px 28px 28px 28px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: var(--primary);
  font-weight: 600;
  padding: 11px 0;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .btn-primary { margin-left: 12px; padding: 12px 20px; font-size: 1rem; }
}
@media (max-width: 900px) {
  .main-nav, .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ----------------------------------------------------------------------
   HERO & GENERIC SECTIONS
----------------------------------------------------------------------*/
.hero-section, .contact-hero-section, .inspiration-hero-section, .hero-map-section {
  background: linear-gradient(90deg, #fafdff 65%, #e6ecef 100%);
  padding: 62px 0;
  min-height: 380px;
  margin-bottom: 48px;
  display: flex; align-items: center;
}
.hero-section .content-wrapper,
.hero-map-section .content-wrapper,
.contact-hero-section .content-wrapper {
  max-width: 560px;
  padding: 0 0 0 8px;
  gap: 18px;
}

/* ----------------------------------------------------------------------
   FEATURE GRID, VALUE GRID
----------------------------------------------------------------------*/
.feature-grid, .icon-grid, .value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.feature-grid li,
.icon-grid li,
.value-list li {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 26px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature-grid li:hover, .icon-grid li:hover, .value-list li:hover {
  box-shadow: 0 6px 26px rgba(24,74,100,0.14);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img, .icon-grid img {
  width: 48px; height: 48px; margin-bottom: 10px;
}

/* ----------------------------------------------------------------------
   LISTS, FAQ, PRICING, TAGS
----------------------------------------------------------------------*/
.service-list {
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  gap: 11px;
  position: relative;
  border-left: 5px solid var(--primary);
  transition: border-color 0.17s;
}
.service-list li:hover {
  border-left: 5px solid var(--accent);
}

.pricing-table {
  border-collapse: collapse;
  background: #fff;
  width: 100%;
  margin: 28px 0 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-table th, .pricing-table td {
  padding: 12px 18px;
  text-align: left;
}
.pricing-table thead tr {
  background: #f5fafd;
}
.pricing-table tbody tr { border-bottom: 1px solid #e8ebee; }

.faq-list {
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.faq-list > li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  border-left: 4px solid var(--primary);
  transition: border-color .14s;
}
.faq-list > li:hover { border-left: 4px solid var(--accent); }

.category-filters, .map-filters {
  margin: 22px 0 18px 0;
  gap: 12px;
}
.category-filters button,
.map-filters button {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  padding: 7px 19px;
  font-weight: 500;
  transition: background 0.15s;
}
.category-filters button:hover, .map-filters button:hover,
.category-filters button.active, .map-filters button.active {
  background: var(--primary);
}

.location-tags, .category-tags {
  display: flex; gap: 10px; align-items: center; margin-top: 11px;
  flex-wrap: wrap;
}
.location-tags span, .category-tags span {
  background: #f2f6f9;
  color: var(--primary);
  border-radius: 14px;
  font-size: 0.97rem;
  padding: 4px 13px 4px 13px;
}

/* ----------------------------------------------------------------------
   INSPIRATION, BLOG TEASERS, ARTICLE CARDS
----------------------------------------------------------------------*/
.blog-teasers {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.blog-teasers article {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px 22px;
  flex: 1 1 285px;
  min-width: 250px;
  transition: box-shadow 0.16s, transform 0.13s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.blog-teasers article:hover {
  box-shadow: 0 7px 25px rgba(24,74,100,0.13);
  transform: translateY(-2px) scale(1.015);
}
.blog-teasers a { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* ----------------------------------------------------------------------
   TESTIMONIALS
----------------------------------------------------------------------*/
.testimonial-section, .user-testimonial-section {
  background: #fafdff;
  padding: 52px 0 52px 0;
  margin-top: 24px;
}
.testimonial-slider {
  display: flex; flex-wrap: wrap; gap: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent);
  display: flex; flex-direction: column;
  min-width: 220px; max-width: 350px; padding: 20px 22px;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px rgba(24,74,100,.18);
  transform: scale(1.015);
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.98rem;
  margin-top: 3px;
}

/* ----------------------------------------------------------------------
   FORMS, CONTACT & CTA
----------------------------------------------------------------------*/
.contact-form-section, .subscriber-cta-section {
  background: #fafdff;
  border-radius: var(--radius);
}
.form-description, .contact-form-fields, .contact-details {
  margin-bottom: 22px;
}
.newsletter-signup {
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* ----------------------------------------------------------------------
   MAP, ILLUSTRATIONS
----------------------------------------------------------------------*/
.interactive-map, .map-preview, .google-map-embed {
  background: #f7fbff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(24,74,100,0.05);
  padding: 22px; margin-top: 20px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
}

/* ----------------------------------------------------------------------
   FOOTER
----------------------------------------------------------------------*/
footer {
  background: var(--primary);
  color: #fff;
  margin-top: 56px;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 56px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-menu {
  margin-bottom: 12px;
  gap: 24px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.9;
  transition: opacity 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  text-decoration: underline;
}
.social-links {
  gap: 18px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  opacity: 0.88;
  transition: opacity 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  opacity: 1;
}
.contact-info p, .contact-info strong {
  color: #fff;
  margin-bottom: 4px;
}
.contact-info a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-info a:hover, .contact-info a:focus { color: var(--secondary); }

/* ----------------------------------------------------------------------
   COOKIE CONSENT BANNER 
----------------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #184A64;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(24,74,100,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 22px 14px;
  font-size: 1rem;
  transition: transform 0.25s, opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p { max-width: 540px; }
.cookie-banner .cookie-buttons {
  display: flex; gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  min-width: 120px;
  padding: 10px 24px;
  margin: 0 2px;
  transition: background 0.1s, color 0.13s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:focus, 
.cookie-banner .cookie-btn.accept:hover {
  background: #194e4e;
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-banner .cookie-btn.reject:focus, 
.cookie-banner .cookie-btn.reject:hover {
  background: #fafdff;
  color: var(--accent);
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:focus, 
.cookie-banner .cookie-btn.settings:hover {
  background: #fff;
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; z-index: 2100; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(8,29,44,0.46);
  display: flex;
  align-items: center; justify-content: center;
  pointer-events: auto;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  padding: 38px 24px 24px 24px;
  max-width: 420px;
  min-width: 270px;
  min-height: 180px;
  box-shadow: 0 7px 28px rgba(24,74,100,0.23);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal .categories {
  display: flex; flex-direction: column; gap: 15px; margin-bottom: 12px;
}
.category-toggle {
  display: flex; align-items: center; gap: 14px;
}
.category-toggle input[type='checkbox'] {
  accent-color: var(--accent);
  width: 19px; height: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 1.45rem;
  color: var(--primary);
  padding: 5px;
  min-width: 36px; min-height: 36px;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #f4fafc;
  color: var(--accent);
}

/* ----------------------------------------------------------------------
   UTILITY CLASSES
----------------------------------------------------------------------*/
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.hide { display: none !important; }

/* ----------------------------------------------------------------------
   MEDIA QUERIES RESPONSIVE DESIGN
----------------------------------------------------------------------*/
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container {
    padding: 0 10px;
  }
  .footer-menu, .container, .footer-menu, .contact-info, .social-links, header .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .hero-section, .contact-hero-section, .inspiration-hero-section, .hero-map-section {
    padding: 35px 0;
    min-height: 210px;
  }
  .feature-grid, .icon-grid, .value-list, .card-container, .card-grid, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .map-preview, .interactive-map, .google-map-embed {
    padding: 12px; min-height: 80px;
  }
  .blog-teasers {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card, .feature-grid li, .icon-grid li, .value-list li, .blog-teasers article {
    padding: 16px 10px;
    min-width: unset; max-width: unset;
  }
  .service-list li, .faq-list > li {
    border-radius: 10px;
    padding: 13px 8px;
  }
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .text-image-section { flex-direction: column; gap:16px; }
  .content-wrapper { gap: 10px; }
}
@media (max-width:480px) {
  html { font-size: 14px; }
  .cookie-banner { padding: 13px 4px; flex-direction: column; gap: 11px; }
  .cookie-banner .cookie-buttons { flex-direction: column; gap: 8px; }
  .cookie-modal { padding: 26px 7px 17px 9px; }
}

/* ----------------------------------------------------------------------
   ANIMATIONS, MICRO-INTERACTIONS
----------------------------------------------------------------------*/
.btn-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .category-filters button, .map-filters button {
  transition: background 0.14s, color 0.12s, box-shadow 0.14s, opacity 0.11s, transform 0.13s;
}
.card, .feature-grid li, .icon-grid li, .value-list li, .testimonial-card, .faq-list > li, .service-list li, .blog-teasers article {
  transition: box-shadow 0.17s, transform 0.12s;
}
.card:hover, .feature-grid li:hover, .icon-grid li:hover, .value-list li:hover, .testimonial-card:hover, .faq-list > li:hover, .service-list li:hover, .blog-teasers article:hover {
  box-shadow: 0 7px 26px rgba(24,74,100,0.17);
  transform: translateY(-2px) scale(1.012);
}

/* ----------------------------------------------------------------------
   OVERRIDES FOR LEGAL, COOKIE, TERMS PAGES
----------------------------------------------------------------------*/
.legal-content-section, .gdpr-content-section, .terms-content-section, .cookies-content-section {
  background: #fff;
  padding: 30px 18px 22px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sections-list, .gdpr-sections, .terms-sections {
  margin-left: 0; display: flex; flex-direction: column; gap: 18px;
}
.sections-list li, .gdpr-sections li, .terms-sections li {
  background: #fafdff;
  padding: 14px 12px;
  border-radius: 7px;
  color: #184A64;
  font-size: 1rem;
}

/* ----------------------------------------------------------------------
   THANK YOU PAGE
----------------------------------------------------------------------*/
.thank-you-section {
  display: flex;
  align-items: center; justify-content: center;
  min-height: 380px;
  background: linear-gradient(90deg,#fafdff 70%, #e6ecef 100%);
  border-radius: var(--radius);
}
.thank-you-section .content-wrapper {
  align-items: center; text-align: center; gap: 18px;
}

/* FOCUS STATES */
a:focus, button:focus, .btn-primary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-btn:focus, .category-filters button:focus, .map-filters button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hide Desktop Main Nav and CTA on Mobile When Burger is Present */
@media (max-width:900px){
  .main-nav{display:none;}
  .btn-primary{display:none;}
  .mobile-menu-toggle{display:block;}
}
