/*! RESET & BASE TYPOGRAPHY */
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 {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F6F7;
  color: #253C5B;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #253C5B; text-decoration: none; transition: color 0.2s; }
a:focus, a:hover { color: #FFC857; outline: none; }
strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253C5B;
  font-weight: 700;
  letter-spacing: -1px;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }

/* FLEX SPACING/ALIGNMENT PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 3px 32px rgba(37,60,91,0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 24px 0;
  width: 100%;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 32px rgba(37,60,91,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 290px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(37,60,91,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;
  margin-bottom: 20px;
  background: #FFFFFF;
  border: 1px solid #F5F6F7;
  box-shadow: 0 2px 18px rgba(37,60,91,.07);
  border-radius: 15px;
  transition: box-shadow 0.21s, border-color 0.14s;
  color: #253C5B;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(37,60,91,0.14);
  border-color: #FFC857;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  width: 100%;
}
.feature-grid li {
  background: #F5F6F7;
  border-radius: 14px;
  padding: 24px 16px;
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 18px rgba(37,60,91,.09);
  transition: background 0.24s, box-shadow 0.2s;
}
.feature-grid li:hover {
  background: #FFEFB7;
  box-shadow: 0 6px 26px rgba(37,60,91,0.14);
}
.feature-grid img {
  width: 32px;
  height: 32px;
}

ul:not(.feature-grid), ol {
  margin-left: 24px;
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 0;
  color: #253C5B;
}
ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.56;
}

address, .address-summary, .contact-details-full {
  margin-bottom: 18px;
  font-style: normal;
  background: #FAFAFC;
  border-radius: 10px;
  padding: 18px 16px;
  color: #253C5B;
  font-size: 1rem;
}
.address-map {
  background: #EEF2FA;
  border-radius: 8px;
  padding: 14px 12px;
  margin-bottom: 16px;
  color: #2b3e5d;
}

/* MAIN CTA BUTTONS */
.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 32px;
  background: linear-gradient(90deg,#253C5B 0%,#FFC857 100%);
  color: #253C5B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  box-shadow: 0 4px 18px rgba(37,60,91,0.13);
  text-align: center;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.15s;
  outline: none;
}
.cta:focus, .cta:hover {
  background: linear-gradient(90deg,#FFC857 0%,#253C5B 100%);
  color: #FFF;
  box-shadow: 0 2px 16px rgba(37,60,91,0.18);
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #253C5B;
  padding: 0;
  min-height: 72px;
  box-shadow: 0 2px 12px rgba(37,60,91,0.07);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  min-height: 72px;
}
header nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 7px 12px;
  border-radius: 5px;
  transition: background .18s, color .14s;
  font-size: 1rem;
}
header nav a:focus, header nav a:hover {
  background: #FFC857;
  color: #253C5B;
}
header nav a img {
  height: 42px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

/* Mobile burger menu toggle */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
  width: 44px;
  height: 44px;
  background: #FFC857;
  border: none;
  border-radius: 50%;
  color: #253C5B;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 102;
  box-shadow: 0 3px 12px rgba(37,60,91,0.12);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #FFD978; }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 110;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #253C5B;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.58,.16,.24,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #FFC857;
  color: #253C5B;
  border: none;
  font-size: 1.7rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 121;
  box-shadow: 0 3px 12px rgba(37,60,91,0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #FFD978; color: #222F3C; }

.mobile-nav {
  margin-top: 86px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0 28px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 15px 12px;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 6px;
  transition: background 0.17s, color 0.13s;
  display: block;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFC857;
  color: #253C5B;
}

/* HERO & HEADLINE */
.hero-subheadline {
  font-size: 1.22rem;
  color: #2F3F59;
  margin-bottom: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}

/* Footer */
footer {
  background: #253C5B;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 16px 30px 16px;
  margin-top: 48px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}
footer nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 7px 14px;
  border-radius: 5px;
  transition: background .18s, color .14s;
}
footer nav a:focus, footer nav a:hover { background: #FFC857; color: #253C5B; }
footer div img {
  height: 30px;
  margin-top: 6px;
}
footer small { display: block; margin-top: 6px; opacity: 0.84; font-size: 0.96rem; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #253C5B;
  color: #FFF;
  z-index: 2500;
  box-shadow: 0 -3px 18px rgba(37,60,91,0.22);
  padding: 21px 16px 17px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform .37s cubic-bezier(.68,-0.55,.27,1.55);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}
.cookie-banner button {
  padding: 9px 22px;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #253C5B;
  background: #FFC857;
  box-shadow: 0 2px 12px rgba(255,200,87,.10);
  margin-right: 8px;
  transition: background .14s, color .14s;
  cursor: pointer;
}
.cookie-banner button:last-child { margin-right: 0; }
.cookie-banner button:focus, .cookie-banner button:hover {
  color: #FFF;
  background: #253C5B;
  border: 1.2px solid #FFC857;
}
.cookie-banner .cookie-settings {
  background: #FFF;
  color: #253C5B;
  border: 1px solid #253C5B;
  margin-left: 0;
  margin-right: 0;
  transition: background .12s, color .14s;
}
.cookie-banner .cookie-settings:focus, .cookie-banner .cookie-settings:hover {
  background: #FFC857;
  color: #253C5B;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2600;
  background: rgba(37,60,91,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #FFF;
  color: #253C5B;
  border-radius: 16px;
  box-shadow: 0 12px 44px rgba(37,60,91,0.18);
  padding: 36px 28px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  position: relative;
}
.cookie-modal-content h3 {
  margin-bottom: 5px;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #253C5B;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0;
}
.cookie-modal-content .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 13px;
  background: #F5F6F7;
  box-shadow: 0 1px 5px rgba(37,60,91,.13);
  transition: background .18s;
  position: relative;
  outline: none;
}
.cookie-modal-content .cookie-toggle:checked {
  background: #FFC857;
}
.cookie-modal-content .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 2px 8px rgba(37,60,91,0.13);
}
.cookie-modal-content .cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal-content .category-label {
  font-size: 1.03rem;
  font-weight: 500;
}
.cookie-modal-content .category-label.essential {
  color: #666;
  font-style: italic;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 12px;
}
.cookie-modal-content button {
  padding: 9px 22px;
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #253C5B;
  background: #FFC857;
  box-shadow: 0 2px 12px rgba(255,200,87,.10);
  transition: background .14s, color .14s;
  cursor: pointer;
}
.cookie-modal-content button:focus, .cookie-modal-content button:hover {
  color: #FFF;
  background: #253C5B;
  border: 1.2px solid #FFC857;
}
.cookie-modal-close {
  position: absolute; top: 18px; right: 18px;
  background: #FFC857;
  color: #222F3C;
  border-radius: 50%;
  width: 32px; height: 32px;
  border: none;
  font-weight: 700;
  font-size: 1.26rem;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(37,60,91,0.11);
  transition: background 0.13s;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { background: #FFD978; color: #253C5B; }

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.shadow-md { box-shadow: 0 3px 20px rgba(37,60,91,0.12); }
.rounded { border-radius: 14px; }

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .section { padding-left: 8vw; padding-right: 8vw; }
}
@media (max-width: 768px) {
  header nav { flex-direction: column; align-items: flex-start; padding: 0 8px; }
  .container { padding-left: 0; padding-right: 0; }
  .section { padding: 32px 4vw; margin-bottom: 42px; }
  .content-grid, .card-container, .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper { gap: 18px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .card { min-width: 80vw; }
}

@media (max-width: 620px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  .section { padding: 22px 2vw; }
  .feature-grid li, .card { padding: 14px 7px; }
}
@media (max-width:550px) {
  .footer nav { gap: 11px; }
}
@media (max-width: 580px) {
  .address-summary, .contact-details-full { padding: 10px 3vw; }
  .cookie-modal-content { padding: 18px 7px; }
}
/* -------- MOBILE NAV VISIBILITY -------- */
@media (max-width: 820px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 821px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex !important; }
}
/* --- Micro-interactions & transitions --- */
.card, .feature-grid li, .testimonial-card, .cta {
  will-change: box-shadow, background;
}
.cta {
  position: relative;
  overflow: hidden;
}
.cta:active {
  top: 1.5px;
}
.feature-grid li, .testimonial-card { cursor: default; }

/* Inputs (if forms added) */
input, textarea, select, button {
  font-family: inherit; border-radius: 7px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #FFC857;
}

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar {
  width: 9px; background: #F5F6F7;
}
::-webkit-scrollbar-thumb {
  background: #DFC04E; border-radius: 12px;
}

/*------ End CSS ------*/
