/* ========================================
   CSS Reset and 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 {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  color: #23272A;
  background: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}

a {
  color: #215083;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover,
a:focus {
  color: #795548;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ========================================
   Typography & Colors (Professional Corporate)
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #13324A;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
.subheadline {
  color: #215083;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 400;
}
p, address, ul li, ol li {
  font-size: 1.0625rem;
  color: #23272A;
  margin-bottom: 14px;
}
address { font-style: normal; }

strong { color: #13324A; font-weight: 700; }

/* ========================================
   Header & Navigation
======================================== */
header {
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(33, 80, 131, 0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
}
.main-nav a {
  color: #215083;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F2F7FB;
  color: #795548;
}

.cta-btn {
  background: #215083;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  padding: 10px 28px;
  border-radius: 28px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(33,80,131,0.08);
  transition: background 0.16s, box-shadow 0.16s, color 0.16s, transform 0.17s;
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #13324A;
  color: #F5F5F5;
  box-shadow: 0 5px 22px 0 rgba(33,80,131,0.16);
  transform: translateY(-2px) scale(1.025);
}

/* ----------- Mobile Navigation Burger ---------- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: #215083;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E0EAF2;
}

/* ----------- Mobile Menu Overlay ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,80,131,0.93);
  z-index: 1200;
  overflow-y: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0.2,.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 1210;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #13324A;
}

.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 72px;
  align-items: flex-start;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 28px;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.15s, color 0.15s;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #13324A;
  color: #B2A89A;
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 990px) {
  header .cta-btn {
    display: none;
  }
}

/* ========================================
   HERO & MAIN SECTIONS
======================================== */
.hero {
  background: #E8F0F6 url('../assets/hero-deco.svg') no-repeat top right;
  min-height: 320px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E0EAF2;
  margin-bottom: 0px;
  padding: 0 0 0 0;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 320px;
}

.content-wrapper {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-section {
  margin-top: 18px;
  margin-bottom: 0px;
}

/* Mandatory Section Spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(33,80,131,0.045);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 7px;
  }
}

/* Card Group & Card Styling */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F6F9FB;
  border: 1px solid #e0e6eb;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(33,80,131,0.05);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(33,80,131,0.11);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

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

.testimonial-card {
  background: #F7FAFD;
  color: #1a2432;
  border: 1px solid #E0EAF2;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(33,80,131,0.06);
  margin-bottom: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow 0.19s, border 0.13s;
  max-width: 760px;
}
.testimonial-card p {
  color: #153051;
  font-size: 1.06rem;
  flex: 1 1 60%;
  margin-bottom: 0;
}
.testimonial-card .author {
  color: #215083;
  font-weight: 500;
  font-size: 0.97rem;
  flex: 0 1 40%;
  text-align: right;
  margin-left: auto;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 17px 50px 0 rgba(33,80,131,0.10);
  border: 1px solid #B2A89A;
}

/* ========================================
   Spacing for Section/Content Elements
======================================== */
section {
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 30px;
  }
}

ul, ol {
  margin: 0 0 18px 0;
  padding: 0;
}
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usp-list li {
  position: relative;
  padding-left: 28px;
}
.usp-list li:before {
  content: '\2022';
  color: #215083;
  position: absolute;
  left: 0; top: 0;
  font-size: 1.36em;
  font-weight: bold;
  line-height: 1.2;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* =======================================
   Table Styling
======================================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #FBFBFC;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0 24px 0;
  box-shadow: 0 2px 8px 0 rgba(33,80,131,0.03);
}
th, td {
  padding: 16px 12px;
  text-align: left;
  font-size: 1.03rem;
}
th {
  background: #215083;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
td {
  color: #23272A;
  border-top: 1px solid #E0EAF2;
  background: #FBFBFD;
}

/* ========================================
   Map Placeholder
======================================== */
.map-placeholder {
  background: #F7FAFD;
  color: #215083;
  border: 2px solid #E0EAF2;
  border-radius: 10px;
  padding: 22px 18px;
  margin: 18px 0 30px 0;
}

/* ========================================
   Footer
======================================== */
footer {
  background: #13324A;
  color: #E6EAED;
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 20px 0 rgba(33,80,131,0.12);
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #B2A89A;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.privacy-notice {
  font-size: 0.94rem;
  color: #E0E6EB;
  text-align: center;
  padding-top: 7px;
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (max-width: 990px) {
  .hero, .hero .container {
    min-height: 220px;
    padding-top: 10px;
  }
  .footer-nav {
    gap: 16px;
    font-size: 0.99rem;
  }
  .section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.37em; }
  h3 { font-size: 1.14em; }
  .hero {
    background: #E8F0F6;
    padding: 22px 0 0 0;
    min-height: unset;
    border-radius: 0 0 13px 13px;
  }
  .card-container,
  .content-grid {
    flex-direction: column!important;
    gap: 12px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
    max-width: 100%;
  }
  .testimonial-card .author { text-align: left; margin-left: 0; }
}

/* ========================================
   Buttons & Interactions
======================================== */
button,
.btn {
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.btn-secondary {
  background: #fff;
  color: #215083;
  border: 1px solid #215083;
  border-radius: 24px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #215083;
  color: #fff;
  border-color: #13324A;
}

/* ========================================
   Cookie Banner & Preferences Modal
======================================== */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2002;
  background: #153051;
  color: #fff!important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 14px 19px 14px;
  box-shadow: 0 -2px 22px 0 rgba(33,80,131,0.16);
  font-size: 1.04rem;
  gap: 28px;
  animation: cookieBannerSlideIn 0.55s cubic-bezier(.48,-0.01,.57,1.12);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
#cookie-banner.hide {
  display: none;
}
#cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
}
#cookie-banner button,
.cookie-modal .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  padding: 8px 19px;
  border-radius: 28px;
  font-size: 1em;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
#cookie-banner .accept {
  background: #215083;
  color: #fff;
}
#cookie-banner .accept:hover { background: #13324A; }
#cookie-banner .reject {
  background: #fff;
  color: #215083;
  border: 1px solid #215083;
}
#cookie-banner .reject:hover { background: #215083; color: #fff; }
#cookie-banner .settings {
  background: #B2A89A;
  color: #13324A;
}
#cookie-banner .settings:hover { background: #95836f; color: #fff; }

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 7px 13px 7px;
    font-size: 0.99rem;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(19,50,74,0.93);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.28s cubic-bezier(.36,0,.64,1);
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal .modal-content {
  background: #fff;
  color: #23272A;
  border-radius: 18px;
  padding: 38px 32px 26px 32px;
  max-width: 410px;
  width: 93vw;
  box-shadow: 0 8px 42px 0 rgba(19,50,74,0.26);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalPopIn 0.32s cubic-bezier(.48,-0.01,.62,1.12);
}
@keyframes modalPopIn {
  from { transform: scale(0.84); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal .modal-title {
  font-size: 1.36rem;
  margin-bottom: 12px;
  color: #215083;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 6px 0;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: #13324A;
}
.cookie-modal .category-toggle {
  accent-color: #215083;
  width: 24px;
  height: 24px;
}
.cookie-modal .essential {
  color: #959595;
  font-size: 0.98rem;
  margin-left: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 17px;
  top: 16px;
  background: none;
  color: #13324A;
  font-size: 1.36rem;
  border: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 5px;
  transition: background 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #E0EAF2;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 13px;
  margin-top: 18px;
  justify-content: flex-end;
}

@media (max-width: 540px) {
  .cookie-modal .modal-content {
    padding: 21px 7px 17px 7px;
  }
}

/* ========================================
   Utility & Micro-Interactions
======================================== */
.box-shadow-md {
  box-shadow: 0 2px 12px 0 rgba(33,80,131,0.08);
}
.rounded-12 { border-radius: 12px; }

/* Micro animation for cards */
.card, .testimonial-card {
  transition: box-shadow 0.16s, border 0.13s, transform 0.17s;
  will-change: box-shadow, transform;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.018);
}

/* Link underline on hover for text-section */
.text-section a {
  position: relative;
  border-bottom: 1px solid #B2A89A;
  padding-bottom: 2px;
  font-weight: 500;
}
.text-section a:hover, .text-section a:focus {
  color: #795548;
  border-bottom: 2px solid #795548;
}

/* ========================================
   Accessibility
======================================== */
:focus {
  outline: 2px solid #B2A89A;
  outline-offset: 2px;
}

/* ========================================
   Print Styles (Minimal)
======================================== */
@media print {
  header, footer, .mobile-menu, #cookie-banner, .cookie-modal { display: none !important; }
  body, main { background: #fff !important; color: #000 !important; }
}
