/* ======================
   CSS RESET & BASE STYLES
   ====================== */
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 {
  color: #202634;
  background: #FAFAFA;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #175374;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E26A2C;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 12px;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #175374;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.22;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
blockquote {
  margin: 0 0 16px 0;
  padding-left: 20px;
  border-left: 4px solid #175374;
  font-style: italic;
  color: #464952;
  font-size: 1.1em;
}

/* =====================
   CONTAINERS & LAYOUTS
   ===================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(23,83,116,0.06);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 270px;
  min-width: 220px;
  background: #F7F9FA;
  border-radius: 14px;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 1px 7px 0 rgba(23,83,116,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature:hover {
  box-shadow: 0 4px 20px 0 rgba(23,83,116,0.13);
  transform: translateY(-2px) scale(1.01);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(23,83,116,0.07);
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  max-width: 100%;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(23,83,116,0.13);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(23,83,116,0.17);
  transform: scale(1.02);
}
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}
.testimonial-meta {
  font-size: 1rem;
  font-style: normal;
  color: #175374;
  font-weight: 500;
  opacity: 0.9;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-cta {
  background: #DCE2E8;
  border-radius: 16px;
  margin-bottom: 50px;
  padding: 32px 20px;
  box-shadow: 0 2px 12px 0 rgba(23,83,116,0.06);
}
.contact-info {
  background: #F7F9FA;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.map-embed {
  background: #F7F9FA;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 48px 0 24px 0;
  border-top: 1.5px solid #E6E8EC;
}
.footer-content > * {
  margin-bottom: 12px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 4px 0 rgba(23,83,116,0.10);
  transition: box-shadow 0.2s, background 0.2s;
}
.footer-social a:hover {
  background: #F7F9FA;
  box-shadow: 0 2px 10px 0 rgba(23,83,116,0.16);
}
.footer-copyright {
  color: #A4ABB3;
  text-align: center;
  font-size: 0.92rem;
  margin-top: 12px;
}

/* ===============
   CTAs & BUTTONS
   =============== */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Georgia', serif;
  background: #175374;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 3px 16px 0 rgba(23,83,116,0.17);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #E26A2C;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(23,83,116,0.21);
  transform: translateY(-2px) scale(1.02);
  outline: none;
}
button, .button {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.05rem;
  background: #fff;
  color: #175374;
  border: 1.5px solid #175374;
  border-radius: 28px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.15s;
}
button:hover, .button:hover {
  background: #DCE2E8;
  color: #E26A2C;
  border-color: #E26A2C;
  transform: scale(1.03);
}
.mobile-menu-toggle {
  background: #175374;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 1.7em;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 1020;
}
.mobile-menu-toggle:focus {
  background: #E26A2C;
  color: #fff;
  outline: none;
}

/* ================
   MAIN NAVIGATION
   ================ */
header {
  background: #fff;
  box-shadow: 0 0 8px 0 rgba(44,60,88,0.05);
  position: sticky;
  top: 0;
  z-index: 102;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  max-width: 1120px;
  margin: 0 auto;
  font-family: 'Montserrat', 'Georgia', serif;
}
.main-nav a {
  color: #175374;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta-primary {
  margin-left: 16px;
  color: #fff;
  background: #E26A2C;
  box-shadow: 0 2px 9px 0 rgba(23,83,116,0.12);
}
.main-nav a:not(.cta-primary):hover,
.main-nav a:not(.cta-primary):focus {
  background: #DCE2E8;
  color: #E26A2C;
}

/* ===============
   HERO SECTION
   =============== */
.hero {
  background: linear-gradient(120deg, #F7F9FA 55%, #DCE2E8 100%);
  border-bottom: 3px solid #DCE2E8;
  padding: 64px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #175374;
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(23,83,116,0.06);
}
.hero p {
  font-size: 1.25rem;
  color: #3C4450;
  max-width: 600px;
  margin-bottom: 24px;
}
.hero .cta-primary {
  font-size: 1.1rem;
}


/* ===================
   TEXT SECTIONS, CMS
   =================== */
.text-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 5px 0 rgba(23,83,116,0.08);
  padding: 20px 22px;
  margin-bottom: 20px;
}
.text-section ul,
.text-section ol {
  margin-left: 32px;
}
.text-section li {
  margin-bottom: 10px;
}
.text-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #175374;
}


/* ===============
   FAQ / LISTS
   =============== */
.faq-teaser {
  background: #F7F9FA;
  border-radius: 13px;
  margin-bottom: 40px;
  padding: 35px 20px;
  box-shadow: 0 1px 5px 0 rgba(23,83,116,0.05);
}
.faq-teaser h2 {
  color: #175374;
}
.faq-teaser a {
  color: #E26A2C;
  font-weight: 600;
  margin-top: 12px;
  display: inline-block;
}
.faq-teaser a:hover {
  text-decoration: underline;
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,83,116, 0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.97,.18,.7,1.13);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: #E26A2C;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1em;
  box-shadow: 0 2px 12px 0 rgba(44,60,88,0.19);
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: #175374;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 170px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.5em;
  color: #fff;
  background: none;
  padding: 10px 6px;
  border-radius: 7px;
  text-align: left;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E26A2C;
  color: #fff;
  outline: none;
}

/* Hide main-nav and show menu button on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============
   COOKIE BANNER
   ============= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: #fff;
  color: #175374;
  padding: 28px 16px 24px 16px;
  box-shadow: 0 -2px 18px 0 rgba(23,83,116,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 18px 18px 0 0;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(70px);
  transition: opacity 0.35s cubic-bezier(.53,.17,.51,.92), transform 0.35s cubic-bezier(.53,.17,.51,.92);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  border: 1.6px solid #175374;
  padding: 10px 20px;
  margin: 0;
  background: #fff;
  color: #175374;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  min-width: 125px;
  text-align: center;
}
.cookie-banner .cookie-btn.accept {
  background: #175374;
  color: #fff;
  border-color: #175374;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #E26A2C;
  border-color: #E26A2C;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  border-color: #175374;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #DCE2E8;
  outline: none;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #E26A2C;
  color: #fff;
  border-color: #E26A2C;
  outline: none;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,38,52,0.44);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.76,.09,.61,.99);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 48px 0 rgba(23,83,116,0.13);
  padding: 44px 32px 32px 32px;
  max-width: 420px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #E26A2C;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
  z-index: 100001;
}
.cookie-modal-close:hover {
  background: #175374;
}
.cookie-modal h2 {
  color: #175374;
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 4px 0;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #3C4450;
}
.cookie-category input[type="checkbox"] {
  width: 32px;
  height: 18px;
  accent-color: #175374;
}

/* Essential cookies always checked and disabled */
.cookie-category input[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-actions .cookie-btn {
  min-width: 112px;
}

/* ===================
   RESPONSIVE QUERIES
   =================== */
@media (max-width: 950px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .main-nav {
    max-width: none;
    gap: 12px;
    font-size: 0.97em;
    padding: 12px 0;
  }
  .footer-content {
    gap: 18px;
    padding: 32px 0 16px 0;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .footer-content {
    flex-direction: column;
    gap: 18px;
  }
  .footer-content {
    align-items: flex-start;
  }
  .footer-social {
    margin-top: 12px;
  }
  .features-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 19px 13px !important;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 22px 0;
  }
  .hero h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 1.02rem;
  }
  .contact-cta {
    padding: 20px 7px;
    margin-bottom: 26px;
  }
  .cookie-banner {
    left: 5px; right: 5px;
    max-width: 99vw;
    padding: 20px 8px 14px 8px;
  }
  .cookie-modal-box {
    padding: 22px 8px 15px 8px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.26rem;
  }
  h2 {
    font-size: 1.05rem;
  }
  .hero h1 {
    font-size: 1.13rem;
  }
}
@media (max-width: 380px) {
  .footer-content {
    gap: 8px;
    padding: 10px 0 10px 0;
  }
  .cookie-banner {
    padding: 12px 2px 8px 2px;
    left: 2px; right: 2px;
  }
}

/* ===========
   UTILITIES
   =========== */
.text-center {
  text-align: center !important;
}
.last-section {
  margin-bottom: 0 !important;
}

::-webkit-scrollbar {
  width: 8px;
  background: #E6E8EC;
}
::-webkit-scrollbar-thumb {
  background: #B6C1CA;
  border-radius: 4px;
}

/* SHADOWS (for subtle separation) */
.shadow-sm {
  box-shadow: 0 1px 7px 0 rgba(44,60,88,0.08);
}
.shadow-md {
  box-shadow: 0 4px 24px 0 rgba(23,83,116,0.14);
}

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

/* ==============
   PRINT STYLES
   ============== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
}
