/* ==== CSS RESET & NORMALIZE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #273849;
  background: #FAFBFC;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2457A7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #163a73;
  text-decoration: underline;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #21406c;
  font-weight: 700;
  margin-bottom: 0.6em;
}
h1 { font-size: 2.5rem; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-top: 2.2rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; }
h4 { font-size: 1.15rem; margin-top: 1.6rem; }
p, dl, blockquote { margin-bottom: 1.2em; }
blockquote {
  margin-left: 0;
  border-left: 4px solid #D1D5DB;
  padding-left: 1em;
  font-style: italic;
  color: #5a6572;
}
strong, b {
  font-weight: bold;
}
hr {
  border: none;
  height: 1px;
  background: #e4e8ed;
  margin: 2em 0;
}

/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(41, 56, 78, 0.07);
  padding: 28px 22px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 34px 0 rgba(41, 56, 78, 0.15);
  transform: translateY(-2px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  background: #f8f9fb;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(39, 56, 73, 0.05);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(39, 56, 73, 0.13);
}
.testimonial-details {
  font-size: 1rem;
  color: #44506c;
  font-style: normal;
  margin-top: -0.8em;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #FFF;
  border-bottom: 1px solid #e0e6ef;
  box-shadow: 0 2px 18px 0 rgba(29, 43, 67, 0.04);
}
header .container {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 34px;
  min-height: 82px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 26px;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  flex: 1 1;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  color: #21406c;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E6F0FA;
  color: #2457A7;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.06rem;
  font-weight: 700;
  background: #2457A7;
  color: #fff;
  border-radius: 8px;
  padding: 13px 30px;
  margin-left: 32px;
  box-shadow: 0 2px 12px 0 rgba(36, 87, 167,0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  border: none;
  outline: none;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #163a73;
  color: #FFD743;
  box-shadow: 0 4px 20px 0 rgba(36, 87, 167,0.18);
  transform: translateY(-2px);
}

/* Burger menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #2457A7;
  margin-left: 18px;
  padding: 0 8px;
  transition: color 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #FFD743;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(36, 87, 167, 0.16);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.6,0.09,0.23,0.99);
  z-index: 16000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.38s cubic-bezier(0.32,0.88,0.47,1.19), opacity 0.2s;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #2457A7;
  position: relative;
  align-self: flex-end;
  background: none;
  border: none;
  margin: 22px 28px 14px 0;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD743;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 36px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: #163a73;
  padding: 12px 0;
  display: block;
  border-radius: 4px;
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD743;
  background: #2457A7;
  padding-left: 10px;
}

/* ==== HERO SECTION ==== */
.hero {
  padding: 56px 0 38px 0;
  margin-bottom: 50px;
  background: #E6F0FA;
  box-shadow: 0 2px 32px 0 rgba(36, 87, 167,0.09);
}
.hero .container {
  align-items: flex-start;
  gap: 0;
}
.hero h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #163a73;
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
  max-width: 650px;
}
.hero p {
  margin-bottom: 2.2rem;
  font-size: 1.2rem;
  color: #38517a;
  max-width: 550px;
}

/* ==== FAQ, DEFINITION LISTS ==== */
dl {
  margin-bottom: 1.8em;
}
dt {
  font-weight: bold;
  color: #2457A7;
  margin-top: 1.3em;
  margin-bottom: 0.2em;
  font-size: 1.09rem;
}
dd {
  margin-left: 0.5em;
  margin-bottom: 0.5em;
  color: #38517a;
}

/* ====== FOOTER ====== */
footer {
  background: #FAFBFC;
  border-top: 1px solid #E6F0FA;
  padding: 38px 0 16px 0;
  margin-top: 60px;
}
.footer-menu {
  display: flex;
  gap: 22px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-menu a {
  color: #2457A7;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: #FFD743;
}
.footer-info {
  text-align: center;
  color: #789;
  font-size: 0.97rem;
  line-height: 1.9;
}

/* ==== SPECIAL: FAQ SNIPPETS ==== */
.faq-snippet {
  background: #f5f7fa;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  padding: 18px 16px 14px 16px;
  margin-top: 1.5em;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px 0 rgba(54,73,106,0.07);
}
.faq-snippet h3 {
  margin-bottom: 0.7em;
  font-size: 1.14rem;
  color: #273849;
}

/* ==== BUTTONS & INTERACTIVE ==== */
button,
.cta-secondary {
  padding: 12px 22px;
  border-radius: 7px;
  border: none;
  background: #E6F0FA;
  color: #2457A7;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 1px 3px 0 rgba(36,87,167,0.04);
  margin-right: 12px;
}
button.cta-secondary:hover, .cta-secondary:hover, button.cta-secondary:focus, .cta-secondary:focus {
  background: #2457A7;
  color: #fff;
}

/* ==== CARDS & DECORATIVE ==== */
.card, .testimonial-card, .faq-snippet {
  box-shadow: 0 2px 16px 0 rgba(41, 56, 78, 0.06);
}

/* ==== ICONS NEXT TO TEXT ==== */
ul li img, ol li img {
  width: 1.45em;
  margin-right: 0.5em;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: -4px;
}

/* ==== UTILITY SPACING ==== */
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15000;
  background: #fffbe7;
  border-top: 1.5px solid #FFD743;
  box-shadow: 0 -2px 24px 0 rgba(36, 87, 167, 0.13);
  padding: 18px 10px 16px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 1.07rem;
  font-family: 'Open Sans', serif;
  color: #273849;
  animation: cookieBannerIn 0.7s cubic-bezier(.22,.57,.34,1.01);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  margin-left: 8px;
  margin-right: 8px;
  min-width: 117px;
  text-align: center;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 1.03rem;
  border: none;
  outline: none;
  background: #FFD743;
  color: #21406c;
  font-weight: 600;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(246,213,67, 0.12);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #2457A7;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #E6F0FA;
  color: #2457A7;
  font-weight: 600;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #2457A7;
  color: #FFD743;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 18000;
  background: rgba(36,87,167,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(36,87,167,0.14);
  border-radius: 14px;
  max-width: 384px;
  width: 93vw;
  padding: 30px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.6rem;
  color: #2457A7;
  background: none;
  border: none;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFD743;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #2457A7;
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-size: 1.05rem;
  color: #273849;
  font-weight: 500;
  user-select: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  min-width: 93px;
  font-size: 0.98rem;
}

/* === LOCATION MAP STUB === */
.location-map {
  width: 100%;
  max-width: 410px;
  min-height: 132px;
  border-radius: 10px;
  background: #e6f0fa url('/assets/map-stub.svg') center center no-repeat;
  background-size: contain;
  margin-top: 12px;
  display: block;
}

/* ======= MEDIA QUERIES ======= */
@media (max-width: 1100px) {
  .container { max-width: 98%; }
}
@media (max-width: 900px) {
  header .container { gap: 18px; }
  .main-nav { gap: 16px; }
  .card {
    min-width: 290px;
    padding: 18px 10px;
  }
}
@media (max-width: 800px) {
  .container { max-width: 98%; padding: 0 10px; }
  .hero { padding: 36px 0 24px 0; }
  .section { padding: 32px 6px; }
}
@media (max-width: 768px) {
  .main-nav,
  .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.01rem; }
  .container { padding: 0 7px; }
  .section { padding: 25px 2px; margin-bottom: 38px; }
  .testimonial-card, .card { padding: 15px 7px; }
  .footer-menu { gap: 10px; font-size: 0.95rem; }
  .footer-info { font-size: 0.92rem; }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; justify-content: flex-start; gap: 22px; }
  .card { min-width: 90vw; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.34rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .container { padding: 0 4px; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.98rem;
    padding: 12px 5px 12px 5px;
  }
  .cookie-modal-content { padding: 16px 6px 8px 6px; }
}

/* ===== ELEGANT CLASSIC SPACING & CARD GAPS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
  flex-direction: column;
}

/* ======= CUSTOM SCROLLBAR ======= */
::-webkit-scrollbar {
  width: 9px; background: #f5f7fa;
}
::-webkit-scrollbar-thumb {
  background: #E6F0FA;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bfd5f2;
}

/* ===== Accessibility: Focus States ===== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #FFD743;
  outline-offset: 0.5px;
}

/* === Hide content visually but keep accessible === */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
