/* --- 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;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #184159;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #184159;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2E7C9;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
}
section, main, footer, header, nav, aside {
  display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  color: #184159;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
p, blockquote, ul, ol {
  margin-bottom: 1rem;
}
blockquote {
  font-style: italic;
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-size: 1.125rem;
  color: #184159;
  margin-left: 0;
  border-left: 6px solid #A6B3BB;
  padding-left: 18px;
}
cite {
  display: block;
  font-size: 1rem;
  margin-top: 0.25rem;
  font-style: normal;
  color: #184159;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- CONTAINER SYSTEM --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* --- HEADER --- */
header {
  width: 100%;
  border-bottom: 3px solid #F2E7C9;
  background: #fff;
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #184159;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #184159;
  color: #F2E7C9;
}
header .button-primary {
  display: inline-block;
  padding: 11px 25px;
  border-radius: 8px;
  background: #184159;
  color: #fff;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 700;
  border: none;
  font-size: 1rem;
  transition: background-color .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 12px rgba(24,65,89,0.06);
}
header .button-primary:hover, header .button-primary:focus {
  background: #A6B3BB;
  color: #184159;
}
header img {
  max-height: 44px;
  width: auto;
  margin-right: 18px;
}

/* --- MOBILE MENU TOGGLE --- */
.mobile-menu-toggle {
  display: none;
  background: #184159;
  color: #F2E7C9;
  border: none;
  font-size: 2.2rem;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .18s;
  margin-left: 16px;
  z-index: 1103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A6B3BB;
  color: #184159;
}

/* --- MOBILE MENU / OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,65,89,0.98);
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.86,0,.07,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 16px rgba(24,65,89,0.16);
}
.mobile-menu-close {
  background: none;
  color: #F2E7C9;
  border: none;
  font-size: 2.5rem;
  align-self: flex-end;
  margin: 18px 18px 6px 0;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A6B3BB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-top: 40px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #F2E7C9;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 14px 10px 14px 0;
  border-radius: 6px 0 0 6px;
  transition: background 0.17s, color 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2E7C9;
  color: #184159;
}

/* --- BUTTONS --- */
.button {
  display: inline-block;
  padding: 11px 25px;
  border-radius: 10px;
  background: #F2E7C9;
  color: #184159;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: none;
  box-shadow: 0 2px 8px rgba(24,65,89,0.06);
  transition: background-color .18s, color .18s, box-shadow .18s, transform .13s;
  outline: none;
  cursor: pointer;
}
.button.button-primary {
  background: #184159;
  color: #fff;
}
.button:hover, .button:focus {
  background: #A6B3BB;
  color: #184159;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(24,65,89,0.10);
}
.button:active {
  background: #184159;
  color: #fff;
}

/* --- CARD / FLEX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  border: 2.5px solid #A6B3BB;
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 24px rgba(24,65,89,0.12);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.17s, border 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(24,65,89,0.19);
  border-color: #184159;
}

.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;
  background: #F2E7C9;
  border-radius: 16px;
  padding: 20px 26px;
  margin-bottom: 20px;
  min-width: 0;
  box-shadow: 0 2px 14px rgba(24,65,89,0.09);
  border: 2.5px solid #A6B3BB;
  flex-direction: column;
}
.testimonial-card blockquote {
  border-left: 5px solid #184159;
  color: #184159;
  margin-bottom: 0.5rem;
  background: none;
}
.testimonial-card cite {
  color: #184159;
  font-size: 1rem;
  font-weight: 700;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- LISTS WITH ICONS --- */
ul li,
ol li {
  font-size: 1.06rem;
  line-height: 1.6;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* --- SECTIONS --- */
section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px rgba(24,65,89,0.072);
  margin-bottom: 40px;
  padding: 40px 0;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.09rem;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}
.contact-details img {
  width: 26px;
  height: 26px;
}

.map-placeholder {
  background: #A6B3BB;
  color: #184159;
  border-radius: 14px;
  padding: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(24,65,89,0.07);
}

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section h3 {
  font-size: 1.15rem;
  margin-bottom: 0px;
}

/* --- FOOTER --- */
footer {
  background: #184159;
  color: #F2E7C9;
  padding: 54px 0 22px 0;
  border-top: 3px solid #F2E7C9;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.2;
  color: #F2E7C9;
  margin-bottom: 0;
}
.footer-brand img {
  width: 38px;
  height: 38px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 180px;
}
.footer-menu a {
  color: #F2E7C9;
  font-size: 1rem;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 500;
  transition: color 0.15s;
  padding: 2px 0;
  border-radius: 4px;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #A6B3BB;
  text-decoration: underline;
}
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
}
.footer-contact-details img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.footer-social a img {
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
  transition: filter 0.18s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(0.7) invert(0.6);
}

/* --- COOKIE BANNER --- */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #184159;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(24,65,89,0.15);
  padding: 28px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1300;
  transition: transform 0.36s cubic-bezier(.91,.09,.63,.94);
  transform: translateY(100%);
}
#cookie-consent-banner.visible {
  transform: translateY(0);
}
#cookie-consent-banner .cookie-text {
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
  line-height: 1.5;
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
#cookie-consent-banner .button {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
}
#cookie-consent-banner .button-primary {
  background: #F2E7C9;
  color: #184159;
}
#cookie-consent-banner .button-reject {
  background: #A6B3BB;
  color: #fff;
  margin-left: 0px;
}
#cookie-consent-banner .button-settings {
  background: #184159;
  color: #F2E7C9;
  border: 2px solid #F2E7C9;
  margin-left: 0px;
}
#cookie-consent-banner .button:hover, #cookie-consent-banner .button:focus {
  background: #A6B3BB;
  color: #184159;
}

/* --- COOKIE SETTINGS MODAL --- */
#cookie-modal-overlay {
  position: fixed; left:0; top:0; right:0; bottom:0;
  background: rgba(26,41,56,0.48);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
#cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
#cookie-modal {
  background: #fff;
  color: #184159;
  max-width: 420px;
  width: 96vw;
  margin-bottom: 38px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(24,65,89,0.20);
  padding: 30px 26px 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transform: translateY(110vh);
  transition: transform 0.34s cubic-bezier(.86,0,.26,1);
  z-index: 1450;
}
#cookie-modal-overlay.open #cookie-modal {
  transform: translateY(0);
}
#cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}
#cookie-modal .cookie-category {
  display: flex; align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
#cookie-modal label {
  font-size: 1rem;
  flex: 1;
}
#cookie-modal .toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
#cookie-modal .toggle-switch input {
  display: none;
}
#cookie-modal .toggle-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #A6B3BB;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s;
}
#cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: #184159;
}
#cookie-modal .toggle-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
#cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
}
#cookie-modal .cookie-modal-actions {
  display: flex; align-items: center; gap: 12px; margin-top: 15px;
}
#cookie-modal .button {
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
}
#cookie-modal .button-primary {
  background: #184159;
  color: #F2E7C9;
}
#cookie-modal .button-secondary {
  background: #A6B3BB;
  color: #fff;
}
#cookie-modal .button:hover, #cookie-modal .button:focus {
  background: #F2E7C9;
  color: #184159;
}
#cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #A6B3BB;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}
#cookie-modal .cookie-desc {
  font-size: 0.97rem;
  color: #183d3c;
  margin-bottom: 5px;
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1000px) {
  .container { max-width: 92vw; }
}
@media (max-width: 900px) {
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  header nav { display: none; }
  header .button-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  section {
    padding: 28px 0;
    border-radius: 10px;
  }
  .footer-brand span { font-size: 1rem; }
  footer .container { gap: 20px; flex-direction: column; align-items: flex-start; }
  .content-wrapper { gap: 16px; }
  .testimonial-card {
    padding: 16px 7vw;
    font-size: 0.98rem;
  }
  .map-placeholder {
    padding: 14px;
    font-size: 1rem;
  }
  .footer-social {
    margin-top: 10px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  h1 { font-size: 1.3rem; }
  h2, .footer-brand span { font-size: 1.03rem; }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .card {
    padding: 18px 7px;
  }
  .testimonial-card {
    padding: 12px 5vw;
  }
}
@media (max-width: 650px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .footer-menu { min-width: unset; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
a, .button, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.18s, color 0.21s, box-shadow 0.15s, transform 0.16s;
}
.card, .testimonial-card, section, .map-placeholder {
  transition: box-shadow 0.15s, border 0.15s;
}

.card:focus-within, .testimonial-card:focus-within {
  outline: 2.5px solid #184159;
  outline-offset: 4px;
}

/* --- GEOMETRIC STRUCTURED DESIGN ELEMENTS --- */
section, .card, .testimonial-card, .map-placeholder, .cookie-banner, #cookie-modal {
  border-radius: 18px;
  border-style: solid;
}
h1, h2, h3, .button {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
}
.button, .card, .testimonial-card,
#cookie-consent-banner, #cookie-modal,
footer {
  box-shadow: 0 2px 8px rgba(24,65,89,0.07);
}

/* --- Z-INDEX LAYERING --- */
header, .mobile-menu, #cookie-consent-banner, #cookie-modal-overlay, #cookie-modal, footer {
  z-index: 1000;
}

/* --- FOCUS VISIBLE --- */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2.5px solid #184159;
  outline-offset: 3px;
}

/* --- CUSTOM FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');
