/* RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  color: #1a2330;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7FA;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #235168;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #18A345;
  text-decoration: underline;
}
button, .cta-btn {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #22313b;
  margin-bottom: 0.75em;
  line-height: 1.18;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 0.6em;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 0.7em;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5em;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 0.5em;
}
p, blockquote {
  margin-bottom: 1.15em;
  color: #273544;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.125rem;
  color: #235168;
  margin-bottom: 1em;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: #1a2330;
}
em {
  font-style: italic;
  color: #235168;
}
.text-section {
  max-width: 850px;
  margin: 0 auto;
}

/* CONTAINER SYSTEM */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}
.section:last-child, section:last-child {
  margin-bottom: 0;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(35, 81, 104, 0.05);
  position: relative;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  height: 54px;
  margin-right: 32px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 6px;
  color: #235168;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active, .main-nav a:focus {
  color: #18A345;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 32px;
  background: #235168;
  color: #fff;
  margin-left: 30px;
  box-shadow: 0 2px 12px 0 rgba(35,81,104,0.07);
  transition: background 0.18s, box-shadow 0.18s, color 0.2s;
  border: none;
  outline: none;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #18A345;
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(24,163,69,0.10);
  text-decoration: none;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #235168;
  display: none;
  margin-left: 24px;
  cursor: pointer;
  border-radius: 6px;
  padding: 0 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(35,81,104,0.08);
  color: #18A345;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px 0 rgba(35, 81, 104, 0.15);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.65,.07,.41,.99);
  overflow-y: auto;
  padding: 36px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #235168;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 10px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(35,81,104,0.09);
  color: #18A345;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  color: #235168;
  padding: 14px 0 14px 6px;
  border-radius: 6px;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #F7F7FA;
  color: #18A345;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(127deg, #F7F7FA 70%, #e3ecf4 100%);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 2px 24px 0 rgba(35,81,104,.05);
  padding-top: 38px;
  padding-bottom: 48px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
  min-height: 280px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #235168;
  font-size: 2.7rem;
  margin-bottom: 0.25em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero .subheadline {
  color: #22313b;
  font-size: 1.19rem;
  margin-bottom: 14px;
  font-weight: 400;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 10px;
}

/* FEATURES SECTION */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(35,81,104, 0.07);
}
.features .container {
  gap: 0;
}
.features .content-wrapper {
  gap: 18px;
}
.features ul, .features ol {
  margin-left: 2em;
  margin-bottom: 0;
  color: #27485f;
}
.features li {
  margin-bottom: 0.7em;
}

/* CARD CONTAINERS & FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(35,81,104, 0.05);
  padding: 26px 22px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  position: relative;
  min-width: 280px;
  transition: box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 32px 0 rgba(35,81,104,0.13);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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;
}

/* SERVICE-LIST for /services page */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 2em;
}
.service-list > div {
  flex: 1 1 280px;
  background: #F7F7FA;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px 0 rgba(35,81,104,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.15s;
}
.service-list > div:hover {
  box-shadow: 0 8px 20px 0 rgba(24,163,69,0.09);
  z-index: 1;
}
.service-list h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #235168;
}
.service-list em {
  font-size: 0.97rem;
  color: #18A345;
  font-style: normal;
  font-weight: 500;
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(117deg, #F7F7FA 60%, #e3ecf4 100%);
  border-radius: 22px;
  padding: 40px 20px 20px 20px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(35, 81, 104, 0.08);
  margin-bottom: 20px;
  min-width: 250px;
}
.testimonial-card p {
  color: #22313b;
  font-size: 1rem;
  margin-bottom: 0.3em;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #235168;
  font-size: 0.99rem;
  font-style: normal;
}

/* FAQ-LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list > div {
  padding: 18px 18px 12px 18px;
  border-radius: 10px;
  background: #f3f5f9;
  box-shadow: 0 1px 6px 0 rgba(35,81,104,0.04);
}
.faq-list h3 {
  font-size: 1.02rem;
  color: #235168;
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-list p {
  font-size: 0.96rem;
}

/* CONTACT & CTA SECTIONS */
section.contact,
section.cta {
  background: #fff;
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(35,81,104, 0.07);
  margin-bottom: 58px;
}
.contact-info {
  background: #F7F7FA;
  border-radius: 10px;
  padding: 18px;
  margin: 18px 0 32px 0;
  font-size: 1rem;
  color: #22313b;
}

/* FOOTER */
footer {
  background: #235168;
  color: #fff;
  text-align: center;
  padding: 38px 0 20px 0;
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #d5e3ef;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #18A345;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F7F7FA;
  font-size: 0.98rem;
}
.footer-branding img {
  height: 25px;
  width: auto;
  margin-right: 5px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 2000;
  width: 100%;
  background: #22313b;
  color: #fff;
  padding: 26px 20px 24px 20px;
  box-shadow: 0 -3px 22px 0 rgba(35,81,104,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookie-fade-in 0.36s cubic-bezier(.61,.25,.52,1.16);
}
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-message {
  flex: 1 1 220px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  padding: 10px 26px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  margin: 0;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept {
  background: #18A345;
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #31cf60;
}
.cookie-banner .reject {
  background: #fff;
  color: #235168;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #e3ecf4;
  color: #18A345;
}
.cookie-banner .settings {
  background: #235168;
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #22313b;
  color: #18A345;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  inset: 0;
  background: rgba(34,49,59,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-appear 0.25s;
}
@keyframes cookie-modal-appear {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 410px;
  width: 94vw;
  padding: 34px 30px 30px 30px;
  color: #22313b;
  box-shadow: 0 6px 32px 0 rgba(35,81,104,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookie-slide-up 0.33s cubic-bezier(.77,.04,.19,.92);
  position: relative;
}
@keyframes cookie-slide-up {
  from { opacity:0; transform: translateY(60px); }
  to { opacity:1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #22313b;
  transition: color 0.16s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #18A345;
}
.cookie-modal h3 {
  color: #235168;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #18A345;
  margin-right: 6px;
}
.cookie-modal .cookie-save {
  margin-top: 22px;
  background: #235168;
  color: #fff;
  border-radius: 22px;
  padding: 10px 28px;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: #18A345;
  color: #fff;
}

/* LISTS, CARDS, AND FLEX PATTERNS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* TABLES (if used) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.6em;
}
th, td {
  border: 1px solid #e3ecf4;
  padding: 12px 14px;
  font-size: 1rem;
}
th {
  background: #235168;
  color: #fff;
}

/* FORMS (if present, basic style) */
input, textarea, select {
  border: 1px solid #b6c5d1;
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  background: #fff;
  color: #22313b;
  transition: border 0.11s;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: #235168;
  outline: none;
}
label {
  font-size: 1rem;
  color: #235168;
  margin-bottom: 0.45em;
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* UTILITY CLASSES */
.hide-mobile { display: block; }
.show-mobile { display: none; }

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .service-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html { font-size: 17px; }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 64px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 30px;
  }
  .features, section.contact, section.cta {
    padding: 24px 6px;
  }
  .section, section {
    padding: 24px 6px;
  }
  .service-list {
    flex-direction: column;
    gap: 0;
  }
  .service-list > div {
    min-width: 0;
    margin-bottom: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    font-size: 0.97rem;
  }
}
@media (max-width: 530px) {
  .hero h1 { font-size: 1.39rem; }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.1rem; }
  .cta-btn {
    padding: 11px 14px;
    font-size: 0.98rem;
  }
  .footer-branding {
    font-size: 0.92rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    font-size: 0.98rem;
  }
}

/* ANIMATIONS / INTERACTIONS */
.card, .service-list > div, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.15s, background 0.16s, color 0.18s;
}
main a:not(.cta-btn):hover {
  text-decoration: underline;
  color: #18A345;
}

/* Z-INDEX LAYERING */
.mobile-menu {
  z-index: 1500;
}
.cookie-banner, .cookie-modal-overlay {
  z-index: 2500;
}

/* ACCESSIBILITY FOCUS */
:focus {
  outline: 2px solid #18A345;
  outline-offset: 1.5px;
}

/* HELPER CLASSES */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

