/* ==== CSS RESET & NORMALIZATION ==== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F9F8;
  color: #205072;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #205072;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==== TYPOGRAPHY & GLOBALS ==== */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #205072;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #205072;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #205072;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #205072;
}
p, li, span, blockquote, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #234056;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #205072;
}
blockquote {
  font-style: italic;
  color: #205072;
  border-left: 4px solid #329D9C;
  margin: 0 0 12px 0;
  padding-left: 16px;
}

/* ==== LAYOUT HELPERS ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ==== SECTION SPACING ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,80,114,0.06);
  border-radius: 18px;
}

/* ==== FLEX PATTERNS (MANDATORY) ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(32,80,114,0.08);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(50,157,156,0.16);
}
.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;
  border-radius: 14px;
  background: #F6F9F8;
  box-shadow: 0 1px 6px rgba(32,80,114,0.08);
  margin-bottom: 24px;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f6f9f8;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(32,80,114,0.07);
}

/* ==== LISTS, ICONS & SPECIALS ==== */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #2e4864;
}
ul li:last-child {
  margin-bottom: 0;
}
ul li img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.mini-team-bio {
  background: #E8EEE8;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0;
  color: #205072;
  font-size: 1rem;
}

.guide-card {
  background: #F6F9F8;
  border: 1px solid #E0E7EA;
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(32,80,114,0.06);
  transition: border-color 0.2s;
}
.guide-card:hover {
  border-color: #329D9C;
}

.address-block {
  background: #F6F9F8;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
  color: #234056;
  box-shadow: 0 1px 4px rgba(32,80,114,0.04);
}

.map-embed {
  margin-top: 12px;
  padding: 12px 0;
  color: #205072;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F6F9F8;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(32,80,114,0.06);
  transition: box-shadow 0.2s;
}
.faq-item strong {
  margin-bottom: 8px;
  display: block;
}

.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #205072;
  margin-bottom: 4px;
  margin-top: 18px;
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 8px;
  padding-left: 12px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

/* ==== NAVIGATION BAR ==== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(32,80,114,0.04);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.main-nav > a img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}
.main-nav > a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205072;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: #E8EEE8;
  color: #329D9C;
  outline: none;
}
.button-primary {
  background: #205072;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 14px;
  box-shadow: 0 1px 2px rgba(32,80,114,0.12);
  transition: background 0.16s, box-shadow 0.16s, transform 0.14s;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #329D9C;
  color: #fff!important;
  box-shadow: 0 4px 12px rgba(50,157,156,0.16);
  transform: translateY(-2px) scale(1.03);
}
.button-secondary {
  background: #329D9C;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 8px;
  margin-top: 12px;
  box-shadow: 0 1px 2px rgba(50,157,156,0.10);
  transition: background 0.14s, box-shadow 0.14s, transform 0.12s;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #205072;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(32,80,114,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* ==== FOOTER ==== */
footer {
  background: #205072;
  color: #fff;
  margin-top: 60px;
  padding: 40px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-radius: 18px 18px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.94;
  padding: 4px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #329D9C;
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-brand img {
  height: 34px;
  width: auto;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  justify-content: center;
  opacity: 0.96;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 32px;
  background: #205072;
  color: #fff;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  z-index: 140;
  border: 0;
  transition: background 0.15s,color 0.15s,box-shadow 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #329D9C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(50,157,156,0.14);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #205072;
  color: #fff;
  z-index: 200;
  padding: 36px 28px 20px 28px;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(0.79,0.21,0.25,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.5rem;
  color: #fff;
  background: transparent;
  margin-bottom: 30px;
  border: 0;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #329D9C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  padding: 7px 2px;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
  min-width: 80vw;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #329D9C;
  color: #fff;
}

/* Hide main nav in mobile, show burger */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #fff;
  color: #205072;
  box-shadow: 0 -2px 16px rgba(50,157,156,0.11);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 1.02rem;
  border-radius: 16px 16px 0 0;
  transition: transform 0.32s cubic-bezier(0.67,0.2,0.4,1) 0s;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner strong {
  color: #205072;
  font-weight: 700;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  transition: background 0.17s,color 0.17s, box-shadow 0.17s;
  cursor: pointer;
  margin-bottom: 2px;
}
.cookie-banner .accept {
  background: #329D9C;
  color: #fff;
  box-shadow: 0 1px 5px rgba(50,157,156,0.11);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #205072;
  color: #fff;
  box-shadow: 0 1px 12px rgba(32,80,114,0.13);
}
.cookie-banner .reject {
  background: #f6f9f8;
  color: #205072;
  border: 1px solid #205072;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #205072;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #329D9C;
  border: 1px solid #329D9C;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #329D9C;
  color: #fff;
}

/* === Cookie Modal === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,80,114,0.54);
  backdrop-filter: blur(2px);
  z-index: 4010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 19px;
  padding: 40px 22px 24px 22px;
  max-width: 96vw;
  width: 420px;
  color: #205072;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 6px 36px rgba(32,80,114,0.13);
  animation: cookieModalIn 0.36s cubic-bezier(.31,1.2,.63,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: translateY(90px) scale(.94); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.cookie-modal-content .cookie-category {
  display: flex; align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #329D9C;
  margin-right: 6px;
  width: 17px; height: 17px;
}
.cookie-category--essential {
  font-weight: 700;
  color: #205072;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-content button {
  border-radius: 8px;
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
  border: none;
  margin-top: 5px;
}
.cookie-modal-content .save {
  background: #329D9C;
  color: #fff;
}
.cookie-modal-content .save:hover,
.cookie-modal-content .save:focus {
  background: #205072;
  color: #fff;
}
.cookie-modal-content .cancel {
  background: #fff;
  border: 1px solid #205072;
  color: #205072;
}
.cookie-modal-content .cancel:hover,
.cookie-modal-content .cancel:focus {
  background: #205072;
  color: #fff;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card blockquote {
  font-size: 1.08rem;
  color: #205072;
  border: none;
  margin-bottom: 0;
  padding: 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #234056;
  font-style: normal;
  font-weight: 500;
}

/* ==== RESPONSIVE LAYOUT ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  section {
    padding: 30px 10px;
  }
  .footer-brand, .footer-contact, .footer-nav { gap: 10px; }
}
@media (max-width: 768px) {
  section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 4px; padding-right: 4px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container, .content-grid, .testimonial-card {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
  }
  .footer-brand, .footer-contact, .footer-nav { flex-direction: column; gap: 7px; }
  .footer-nav {
    font-size: 0.98rem;
    gap: 6px;
  }
  .button-primary, .button-secondary {
    width: 100%;
    display: block;
    margin: 0 0 10px 0;
    text-align: center;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .footer-brand img {
    height: 26px;
  }
}

/* ==== MISCELLANEOUS ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #E0E7EA;
}
::-webkit-scrollbar-thumb {
  background: #205072;
  border-radius: 6px;
}
::-webkit-input-placeholder { color: #205072bb; }
::-moz-placeholder { color: #205072bb; }
:-ms-input-placeholder { color: #205072bb; }
::placeholder { color: #205072bb; }

/* Accessibility focus outline */
a:focus, button:focus {
  outline: 2px solid #329D9C !important;
  outline-offset: 2px;
}

/* ==== VISUAL MICROINTERACTIONS ==== */
.card, .faq-item, .guide-card, .feature-item {
  transition: box-shadow 0.18s, border-color 0.12s, background 0.18s;
}
.card:hover, .faq-item:hover, .guide-card:hover, .feature-item:hover,
.card:focus-within, .faq-item:focus-within, .guide-card:focus-within, .feature-item:focus-within {
  box-shadow: 0 5px 24px rgba(50,157,156,0.17);
  border-color: #329D9C;
}
ul li strong, .feature-item strong {
  font-size: 1.05rem;
}

/* ==== PRINT STYLES ==== */
@media print {
  nav, .main-nav, .mobile-menu, .mobile-menu-toggle, .footer-nav,
  .footer-brand, .footer-contact, .cookie-banner, .cookie-modal { display: none!important; }
  body { background: #fff; color: #111; }
}
