/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F7FB;
  color: #224257;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}

img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1a3242;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 { font-size: 2.6rem; line-height: 1.16; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5 { font-size: 1rem; margin-bottom: 6px; }
h6 { font-size: 0.95rem; margin-bottom: 6px; }

p, li, label, select { font-size: 1rem; line-height: 1.7; font-family: 'Roboto', Arial, sans-serif; color: #224257; }
strong, b { font-weight: 700; }

/* LINKS */
a, .btn-primary {
  color: #23a186;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #1a3242;
}
a.btn-primary { color: #fff; }

/* BUTTON PRIMARY */
.btn-primary, button.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #23a186;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  box-shadow: 0 3px 12px 0 rgba(34,66,87,0.07);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  margin-top: 18px;
  min-width: 160px;
}
.btn-primary:hover, .btn-primary:focus, button.btn-primary:hover {
  background: #1a876d;
  box-shadow: 0 5px 18px 0 rgba(34,66,87,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(34, 66, 87, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 3px 12px 0 rgba(34,66,87,0.08);
  min-width: 240px;
  flex: 1 1 285px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F3F7FB;
  border-left: 4px solid #23a186;
  border-radius: 9px;
  box-shadow: 0 2.5px 11px rgba(34,66,87,0.07);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION & HEADER */
header {
  width: 100%;
  background: #1a3242;
  box-shadow: 0 2px 10px rgba(34, 66, 87, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  height: 64px;
  justify-content: flex-start;
  padding: 0 18px;
}
.main-nav .logo img {
  height: 38px;
  margin-right: 12px;
}
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.17s;
  padding: 8px 2px;
  border-radius: 4px;
  position: relative;
}
.main-nav a:not(.logo):hover,
.main-nav a:not(.logo):focus {
  color: #23a186;
  background: rgba(36, 184, 154, 0.07);
}
.main-nav .btn-primary {
  background: #23a186;
  color: #fff;
  margin-left: auto;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  box-shadow: 0 3px 14px rgba(34, 66, 87, 0.13);
}
.main-nav .btn-primary:hover {
  background: #1a876d;
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 13px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  z-index: 110;
  line-height: 1;
  padding: 4px 10px;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26,50,66, 0.95);
  backdrop-filter: blur(5px);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.6,.25,.47,1.17);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  padding: 5px 12px;
  border-radius: 50%;
  transition: background .19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(52,184,154,0.10);
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 6px;
  width: 100%;
  border-radius: 6px;
  transition: background .17s, color .19s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #23a186;
  color: #fff;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(93deg, #F3F7FB 78%, #e1ebf4 100%);
  padding: 52px 0 32px 0;
  margin-bottom: 44px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 7px 18px rgba(34, 66, 87, 0.06);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  color: #224257;
  margin-bottom: 10px;
}
.hero p {
  max-width: 660px;
  font-size: 1.19rem;
  color: #224257;
}

/* FEATURES / LISTS */
.features ul,
.text-section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.features ul li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(34, 66, 87, 0.06);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 500;
  font-size: 1rem;
  min-width: 220px;
  color: #224257;
}
.features ul img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* SERVICES PREVIEW & CONTENT GRIDS */
.services-preview .service-teasers,
.service-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.services-preview .service-teasers > div,
.service-list-grid > div {
  flex: 1 1 280px;
  background: #F3F7FB;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2.5px 10px rgba(34,66,87,0.07);
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.16s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services-preview .service-teasers > div:hover,
.service-list-grid > div:hover {
  box-shadow: 0 6px 22px rgba(34,66,87,0.11);
  transform: translateY(-4px) scale(1.015);
}
.services-preview .service-teasers > div h3,
.service-list-grid > div h3 {
  color: #1a3242;
  font-size: 1.14rem;
}
.services-preview .service-teasers > div strong,
.service-list-grid > div strong {
  color: #23a186;
  font-size: 1.05rem;
  margin-top: 8px;
}

/* CTA SECTIONS */
.cta {
  background: #224257;
  color: #fff;
  padding: 46px 0;
  border-radius: 20px;
  margin-bottom: 64px;
  box-shadow: 0 4px 16px rgba(34,66,87,0.08);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: #34B89A;
  color: #fff;
}
.cta .btn-primary:hover {
  background: #23a186;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #224257;
  border-left: 4px solid #23a186;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0;
  color: #224257;
}
.testimonial-card cite {
  display: block;
  font-size: 0.98rem;
  color: #1a3242;
  font-style: normal;
  margin-top: 8px;
}

/* BREADCRUMBS */
[aria-label="breadcrumb"] {
  font-size: 0.97rem;
  color: #57728e;
  margin-bottom: 4px;
}
[aria-label="breadcrumb"] span {
  color: #57728e;
  font-family: 'Roboto', Arial, sans-serif;
}

/* FORMS, FILTERS & INPUTS */
label {
  font-weight: 500;
  margin-right: 6px;
}
select {
  padding: 8px 12px;
  border: 1.5px solid #d0d6dc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 9px;
  transition: border 0.16s;
}
select:focus {
  border: 1.5px solid #23a186;
  outline: none;
}

/* MAP PLACEHOLDER */
.placeholder-map {
  background: #e2e7ed;
  border-radius: 6px;
  text-align: center;
  line-height: 180px;
  font-size: 1.1em;
  color: #224257;
  margin-top: 8px;
  margin-bottom: 12px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* TEXT SECTION */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-section h3 {
  color: #224257;
  font-size: 1.04rem;
  margin-bottom: 3px;
}
.text-section a {
  color: #23a186;
  font-weight: 500;
  text-decoration: underline;
}
.text-section a:hover {
  color: #1a3242;
}

/* INSIGHT HIGHLIGHTS */
.insight-highlights {
  background: #eaf5f1;
  color: #1a3242;
  padding: 18px 16px;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: #1a3242;
  color: #fff;
  padding: 30px 0 18px 0;
  margin-top: 38px;
  border-radius: 24px 24px 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .logo-mark {
  height: 34px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #B8C2CC;
  font-size: 1rem;
  margin-bottom: 0;
  text-decoration: underline;
  transition: color .16s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact {
  font-size: 1rem;
  line-height: 1.6;
  color: #F3F7FB;
  margin-top: 7px;
}
footer a {
  color: #34B89A;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #224257;
  color: #fff;
  z-index: 21000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 14px 20px 14px;
  box-shadow: 0 2px 28px 8px rgba(34, 66, 87, 0.11);
  gap: 36px;
  opacity: 1;
  transition: opacity 0.23s, transform 0.42s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}
.cookie-banner .cookie-banner-text {
  max-width: 510px;
  margin-right: 24px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  margin: 0 4px 0 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background .14s, color .16s;
  min-width: 110px;
}
.cookie-banner .accept-all {
  background: #23a186;
  color: #fff;
}
.cookie-banner .accept-all:hover {
  background: #1a876d;
  color: #fff;
}
.cookie-banner .reject-all {
  background: #e2e7ed;
  color: #224257;
}
.cookie-banner .reject-all:hover {
  background: #d0d6dc;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #34B89A;
}
.cookie-banner .cookie-settings:hover {
  background: #34B89A;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,50,66,0.72);
  z-index: 22000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px 32px 20px 32px;
  max-width: 410px;
  box-shadow: 0 12px 32px 4px rgba(34,66,87,0.11);
  color: #224257;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 19px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #1a3242;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  flex: 1;
  color: #224257;
}
.cookie-modal .cookie-category input[type="checkbox"],
.cookie-modal .cookie-category input[type="radio"] {
  accent-color: #23a186;
  width: 19px;
  height: 19px;
  margin-right: 5px;
}
.cookie-modal .cookie-category.essential label {
  color: #97a7bc;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 1.35rem;
  color: #777;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 10px;
  transition: background .15s;
}
.cookie-modal .close-cookie-modal:hover { background: #f3f7fb; }
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions .save {
  background: #23a186;
  color: #fff;
}
.cookie-modal .cookie-modal-actions .save:hover { background: #1a876d; }
.cookie-modal .cookie-modal-actions .cancel {
  background: #e2e7ed;
  color: #224257;
}
.cookie-modal .cookie-modal-actions .cancel:hover { background: #d0d6dc; }

/* UTILITIES */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }
p + ul, .text-section ul { margin-top: 10px; }

/* SPACING: PARENT/CHILD ELEMENTS */
.content-wrapper > *,
.container > * {
  margin-bottom: 20px;
}
.content-wrapper > *:last-child,
.container > *:last-child {
  margin-bottom: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* ANIMATIONS & TRANSITIONS */
.section, .card, .testimonial-card, .card-container, .service-teasers > div, .service-list-grid > div {
  transition: box-shadow 0.19s, transform 0.16s, background 0.12s;
}

.btn-primary, button {
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.16s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .container {
    max-width: 97vw;
  }
  .service-list-grid > div, .services-preview .service-teasers > div {
    min-width: 180px;
    padding: 20px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.42rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 99vw;
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 30px 0 17px 0;
    border-radius: 0 0 17px 17px;
    margin-bottom: 22px;
  }
  .features ul, .text-section ul, .service-list-grid, .services-preview .service-teasers {
    flex-direction: column;
    gap: 16px;
  }
  .card-container { gap: 12px; }
  .card { min-width: 0; }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .cta {
    border-radius: 10px;
    margin-bottom: 17px;
    padding: 26px 0;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 0 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    padding: 20px 7px 16px 7px;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
    max-width: 98vw;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 1.29rem;}
  h2 { font-size: 1.06rem;}
  .section {
    padding: 12px 3px;
    margin-bottom: 22px;
  }
  .cta {
    border-radius: 7px;
    padding: 14px 0;
  }
  .testimonial-card {
    padding: 8px;
  }
  .cookie-modal {
    max-width: 94vw;
    padding: 18px 6px 12px 6px;
    font-size: 0.97rem;
  }
}

/* ACCESSIBILITY FOCUS STATES */
:focus {
  outline: 2px solid #34B89A !important;
  outline-offset: 2px;
}

/* HIDE DEFAULT NUMBER SPINNERS */
input[type=number]::-webkit-inner-spin-button,  
input[type=number]::-webkit-outer-spin-button {  
  -webkit-appearance: none;  
  margin: 0;  
}
input[type=number] {
  -moz-appearance: textfield;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #e2e7ed;
}
::-webkit-scrollbar-thumb {
  background: #b4bfd0;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #23a186;
}

/* Print Styles */
@media print {
  header, footer, .main-nav, .mobile-nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff;
    color: #222;
  }
  .container {
    max-width: 100%;
    padding: 0 !important;
  }
}
