/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, html {
  width: 100%;
  min-height: 100%;
  background: #fff;
  color: #193967;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5rem;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  outline: none;
}

/* === BRAND TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
  color: #193967;
}
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: #193967;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 24px;
  color: #193967;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #193967;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #193967;
}
p, li, address, small {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #193967;
}
small {
  font-size: 0.93rem;
  color: #2f406d;
  opacity: 0.8;
}
strong { font-weight: 700; }

/* === CONTAINER & WRAPPERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* === SPACING/LAYOUT MANDATES === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px 0 rgba(25,57,103,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 270px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(25,57,103,0.11);
  transform: translateY(-2px) scale(1.012);
}
.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: 16px;
  padding: 20px;
  background: #F4F7FB;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(25,57,103,0.06);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 450px;
  transition: box-shadow 0.16s, transform 0.2s;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #193967;
}
.testimonial-card small {
  font-size: 1rem;
  font-weight: 700;
  color: #193967;
  opacity: 1;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(25,57,103,0.10);
  transform: translateY(-2px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: #F4F7FB;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  min-height: 280px;
  box-shadow: 0 2px 14px rgba(25,57,103,0.06);
  border-radius: 0 0 40px 40px;
}
.hero h1 {
  font-size: 2.2rem;
}
.hero p {
  font-size: 1.13rem;
  color: #356183;
}

/* === CTA BLOCK === */
.cta {
  background: #F4F7FB;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(25,57,103,0.09);
  margin-bottom: 32px;
  padding-bottom: 32px;
}
.cta .cta-btn {
  margin-bottom: 16px;
}

/* === BUTTONS & CTA === */
.cta-btn {
  display: inline-block;
  background: #49B2A7;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 13px 32px;
  border-radius: 7px;
  margin-top: 12px;
  margin-bottom: 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(25,57,103,0.09);
  transition: background 0.17s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #193967;
  color: #fff;
  box-shadow: 0 5px 20px rgba(25,57,103,0.14);
  transform: translateY(-1px) scale(1.022);
}

button, .button {
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.18s;
}

/* === NAVIGATION === */
header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(25,57,103,0.035);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  min-height: 78px;
}
header img {
  height: 34px;
  margin-right: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
  margin-left: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  color: #193967;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F7FB;
  color: #49B2A7;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #193967;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  z-index: 35;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F7FB;
  color: #49B2A7;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(25,57,103, 0.11);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  z-index: 99;
  transition: opacity 0.33s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  width: 80vw;
  max-width: 340px;
  height: 100vh;
  padding: 38px 26px 28px 38px;
  box-shadow: -10px 0 24px -7px rgba(25,57,103,0.10);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  border: none;
  color: #193967;
  font-size: 2.1rem;
  padding: 15px 21px 11px 8px;
  cursor: pointer;
  z-index: 101;
  align-self: flex-end;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #49B2A7;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  color: #193967;
  border-radius: 6px;
  padding: 8px 10px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F7FB;
  color: #49B2A7;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 1px solid #ECECED;
  font-size: 1rem;
  padding: 40px 0 16px 0;
  box-shadow: 0 -2px 14px rgba(25,57,103,0.04);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  font-size: 1rem;
}
footer nav a {
  color: #2f406d;
  opacity: 0.85;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.13s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #F4F7FB;
  color: #49B2A7;
}
.footer-contact {
  font-size: 1rem;
  color: #193967;
  opacity: 0.8;
  min-width: 200px;
}
footer img {
  height: 28px;
  width: auto;
  margin-bottom: 8px;
}
footer p {
  color: #356183;
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* === GENERIC LIST STYLES AND SPACING === */
ul, ol {
  color: #193967;
  font-size: 1rem;
  margin-bottom: 14px;
}
ul > li, ol > li {
  margin-bottom: 10px;
  line-height: 1.62;
}
address {
  font-style: normal;
}
.map-placeholder {
  background: #F4F7FB;
  border-radius: 8px;
  color: #357386;
  padding: 18px 18px;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* === FORM ELEMENTS (if present in future) === */
input, textarea, select {
  border-radius: 6px;
  border: 1px solid #e4e6ef;
  background: #fff;
  padding: 10px 15px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border-color: #49B2A7;
  outline: none;
}

/* === CONFIRMATION SCREEN (thanks.php) === */
.confirmation {
  background: #F4F7FB;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(25,57,103,.04);
  padding-bottom: 36px;
}
.confirmation h1 {
  color: #193967;
}
.confirmation ul {
  margin-bottom: 24px;
}
.confirmation .cta-btn {
  margin-bottom: 14px;
}

/* === RESPONSIVE RULES === */
@media (max-width: 1025px) {
  .container {
    max-width: 94vw;
    padding: 0 4vw;
  }
  header, footer {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  header .main-nav {
    gap: 12px;
  }
  .footer nav {
    gap: 10px;
  }
  .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 28px 4vw 0 4vw;
    margin-bottom: 38px;
  }
  header {
    flex-direction: row;
    padding: 14px 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: unset;
    padding: 24px 0;
    border-radius: 0 0 24px 24px;
  }
  .testimonial-card, .card {
    min-width: auto;
    max-width: 100%;
    padding: 16px 14px;
  }
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column !important;
    gap: 16px;
    align-items: stretch;
  }
  .footer nav {
    flex-direction: column;
    gap: 4px;
  }
  .section, .cta, .hero, .confirmation {
    padding: 18px 4vw;
  }
  .mobile-nav {
    max-width: 90vw;
    padding: 38px 12vw 20px 9vw;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid, .footer .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 440px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.03rem; }
  .container { padding: 0 4vw; }
  .mobile-nav { padding: 36px 4vw 15px 4vw; }
  .footer nav a, .main-nav a { font-size: 0.99rem; }
}

/* === TRANSITIONS & MICRO-INTERACTIONS === */
section, .hero, .cta, .card, .testimonial-card, footer, header {
  transition: box-shadow 0.16s, background 0.15s, border-radius 0.16s;
}

/* === SUBTLE SHADOWS ACROSS CARDS/ELEMENTS === */
.card, .testimonial-card, .cta, .confirmation {
  box-shadow: 0 1.5px 12px 0 rgba(25,57,103,0.07);
}

/* === SPACING PATCHES FOR FLEX LAYOUTS === */
.card-container, .content-grid, .footer .content-wrapper {
  gap: 24px;
}
.section:not(:last-child), section:not(:last-child) {
  margin-bottom: 60px;
}

/* === ACCESSIBILITY === */
a:focus-visible, button:focus-visible {
  outline: 2px solid #49B2A7;
  outline-offset: 3px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #193967;
  border-top: 1.5px solid #b2bdd6;
  box-shadow: 0 -5px 28px rgba(25,57,103,0.10);
  padding: 18px 12px 17px 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 2500;
  font-size: 1rem;
  animation: bannerIn 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes bannerIn {
  from { transform: translateY(55px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner p {
  margin-right: 14px;
  flex: 1 1 240px;
  color: #193967;
  font-size: 1rem;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 5px;
  margin-left: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #F4F7FB;
  color: #193967;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
  box-shadow: 0 0.5px 5px #f4f7fb33;
}
.cookie-btn.accept {
  background: #49B2A7;
  color: #fff;
}
.cookie-btn.accept:hover { background: #193967; }
.cookie-btn.reject:hover, .cookie-btn.settings:hover, .cookie-btn:focus {
  background: #eceff7; color: #193967;
}

@media (max-width: 554px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 12px 5vw 14px 5vw;
    font-size: 0.97rem;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,57,103,0.11);
  z-index: 2510;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.33s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(25,57,103,0.18), 0 2px 12px rgba(25,57,103,0.06);
  padding: 32px 32px 16px 32px;
  max-width: 380px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes modalIn {
  from { transform: scale(0.88) translateY(60px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 2px;
}
.cookie-toggle {
  margin-left: auto;
  accent-color: #49B2A7;
}
.cookie-category.essential label {
  color: #356183;
  opacity: 0.8;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: #193967;
  cursor: pointer;
}

/* === VISUAL FIXES FOR MINIMALISM === */
::-webkit-scrollbar {
  width: 7px;
  background: #F4F7FB;
}
::-webkit-scrollbar-thumb {
  background: #b2bdd6;
  border-radius: 4px;
}

/* === UTILITIES === */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* === END - All styles match HTML classes, flex layouts only, minimalism throughout === */