/* === CSS RESET & NORMALIZE === */
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;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #95B8A5;
  outline-offset: 2px;
}

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

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #F6F8FA;
  color: #20303A;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #20303A;
  margin-bottom: 24px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol, address {
  font-size: 1rem;
  color: #20303A;
  margin-bottom: 12px;
  font-weight: 400;
}
a {
  color: #217093;
  transition: color 0.2s;
}
a:hover, nav a:hover {
  color: #95B8A5;
}
strong, b {
  font-weight: 700;
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.text-section {
  max-width: 780px;
  margin: 0 auto;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32, 48, 58, 0.06);
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 32px 12px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 24px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 1px 8px rgba(32,48,58,0.04);
  position: sticky;
  top: 0;
  z-index: 102;
  padding: 10px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 80px;
}
header img {
  height: 42px;
  margin-right: 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #20303A;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover {
  background: #F6F8FA;
  color: #217093;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: inline-block;
  padding: 11px 28px;
  background: #20303A;
  color: #fff;
  border-radius: 32px;
  font-size: 1rem;
  margin-left: 16px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(32, 48, 58, 0.10);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #95B8A5;
  color: #20303A;
  box-shadow: 0 3px 18px rgba(32,48,58,0.16);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: #20303A;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 110;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #95B8A5;
  color: #20303A;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #20303A;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.83,.06,.38,.98);
  z-index: 180;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 3px 0 16px rgba(32,48,58,0.25);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 22px 16px 0;
  padding: 10px 14px;
  color: #fff;
  font-size: 2rem;
  background: transparent;
  border-radius: 10px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { background: #95B8A5; color: #20303A; }
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 32px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 0;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover {
  color: #95B8A5;
  background: none;
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  header .container { height: 64px; }
  header img { height: 31px; }
}

/* === MAIN SECTIONS & SPACING === */
main {
  width: 100%;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
section {
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(32,48,58,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 280px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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;
}
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    align-items: flex-start;
  }
}

/* === LISTS === */
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
ul li, ol li {
  padding-left: 0.25em;
  font-size: 1rem;
  color: #20303A;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.45;
}
ul li img, ol li img { width: 22px; height: 22px; min-width: 22px; margin-right:3px; }

/* === CARDS === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F6F8FA;
  border: 1px solid #E3EBF0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  color: #20303A;
  box-shadow: 0 1.5px 8px rgba(32,48,58,0.04);
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1.05rem;
  color: #20303A;
  font-weight: 500;
  flex: 1 1 auto;
}
.testimonial-card div {
  color: #217093;
  font-style: normal;
  font-weight: 500;
  min-width: 150px;
  font-size: 0.95rem;
  text-align: right;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px;
  }
  .testimonial-card div {
    text-align: left;
    min-width: 0;
  }
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
}
button:active, .cta-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  box-shadow: 0 0px 0px #0000;
}
a.cta-btn:focus {
  outline: 2px solid #217093;
  outline-offset: 2px;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #20303A;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 96px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 32px;
  border-bottom: 1px solid #304259;
}
footer img { height: 38px; }
footer address {
  font-style: normal;
  color: #D8E2E7;
  margin-top: 14px;
  font-size: 0.97rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #98AEC4;
  font-size: 0.97rem;
}
footer nav a {
  color: #95B8A5;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 10px;
}
.footer-socials a img {
  width: 30px;
  height: 30px;
  filter: grayscale(0.5) brightness(0.96);
  transition: filter 0.17s;
}
.footer-socials a:hover img {
  filter: grayscale(0) brightness(1.3);
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 18px;
  }
  footer {
    padding: 20px 0 0 0;
  }
}

/* === CONTACT PAGE MAP === */
.map {
  background: #fff;
  border: 1px solid #E3EBF0;
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 17px;
  color: #20303A;
  font-size: 0.98rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2222;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background: #20303A;
  color: #fff;
  padding: 20px 32px;
  box-shadow: 0 -3px 20px rgba(32,48,58,0.13);
  font-size: 1.05rem;
  transition: transform 0.4s cubic-bezier(.67,.26,.38,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn,
.cookie-settings-btn {
  padding: 8px 21px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin: 0 3px;
  background: #95B8A5;
  color: #20303A;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #fff;
  color: #20303A;
  border: 1px solid #95B8A5;
}
.cookie-settings-btn {
  background: transparent;
  color: #95B8A5;
  border: 1px solid #95B8A5;
}
.cookie-btn:hover, .cookie-settings-btn:hover {
  background: #217093;
  color: #fff;
  border-color: #217093;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.98rem;
    padding: 18px 8px;
  }
  .cookie-banner .cookie-buttons { flex-wrap: wrap; gap: 7px; }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3333;
  background: rgba(32,48,58,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.cookie-modal {
  background: #fff;
  color: #20303A;
  min-width: 320px;
  max-width: 95vw;
  border-radius: 18px;
  box-shadow: 0 7px 36px #20303A18;
  padding: 34px 36px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
.cookie-modal h2 { font-size: 1.5rem; color: #20303A; margin-bottom: 16px; }
.cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 8px;
  color: #20303A;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #95B8A5;
}
.cookie-category .desc {
  font-size: 0.98rem;
  color: #536573;
  margin-top: 1px;
  margin-left: 9px;
  flex: 1 1 auto;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 14px;
  background: transparent;
  color: #20303A;
  border-radius: 8px;
  font-size: 1.5rem;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus{ color: #217093; background: #EFEFEF; }
@media (max-width: 600px) {
  .cookie-modal { padding: 18px 4vw 16px 4vw; font-size: 1rem; }
}

/* === UTILITY CLASSES === */
.max-width {
  max-width: 900px;
  margin: 0 auto;
}
.centered {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.mt-32{ margin-top: 32px; }
.mt-16{ margin-top: 16px; }
.mb-8{ margin-bottom: 8px; }
.mb-28{ margin-bottom: 28px; }
.gap-16{ gap: 16px; }
.gap-8{ gap: 8px; }

/* === TRANSITIONS AND MICRO-INTERACTIONS === */
section, .card, .testimonial-card, .cta-btn, .footer-socials a img {
  transition: box-shadow 0.18s, background 0.16s, color 0.18s, transform 0.17s;
}
.card:hover, section:hover {
  box-shadow: 0 6px 24px rgba(32,48,58,0.09);
  transform: translateY(-1px) scale(1.015);
}

/* === FORMS AND INPUTS (for contact/potential newsletter) === */
input, textarea, select {
  border: 1px solid #95B8A5;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 1rem;
  color: #20303A;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #fff;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #217093;
}
label { font-weight: 600; display: block; margin-bottom: 4px; }

/* === BLOG TAGS === */
.text-section span {
  display: inline-block;
  background: #F6F8FA;
  color: #217093;
  border-radius: 8px;
  padding: 3px 9px;
  margin-right: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
}

/* === MISCELLANEOUS SPACING === */
main > section:not(:last-child) {
  margin-bottom: 32px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 10px;
}

/* === PRINT SUPPORT === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}
