/* =================== 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;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.6;
  background: #F4F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #22324B;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #274C6F;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, button:focus {
  outline: 2px solid #53A575;
  outline-offset: 2px;
}
ul, ol {
  margin: 0 0 1em 1.5em;
  padding: 0;
}

/* =================== BRAND TYPOGRAPHY =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat: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, Helvetica, sans-serif;
  color: #274C6F;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, li, blockquote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #22324B;
}
blockquote {
  border-left: 4px solid #53A575;
  padding-left: 18px;
  margin: 24px 0;
  font-style: italic;
  color: #274C6F;
  background: #e8f2f5;
}
strong, b {
  font-weight: 600;
  color: #274C6F;
}

/* =================== CONTAINER, LAYOUT, SECTIONS =================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 4px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(39,76,111,0.06);
  display: flex;
  flex-direction: column;
}

/* =================== HEADER & NAVIGATION BAR =================== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(39,76,111,0.07);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #274C6F;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #e7eff7;
  color: #53A575;
}
header img {
  height: 44px;
  width: auto;
}
.button-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  background: #274C6F;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px 0 rgba(39,76,111,0.09);
  transition: background 0.16s, box-shadow 0.16s, transform 0.16s;
  margin-left: 24px;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #53A575;
  color: #fff;
  box-shadow: 0 6px 18px 0 rgba(83,165,117,0.13);
  transform: translateY(-2px) scale(1.03);
}
.button-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #274C6F;
  background: #e7eff7;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px 0 rgba(39,76,111,0.06);
  margin-top: 12px;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #53A575;
  color: #fff;
}

/* =================== FLEXBOX PATTERNS =================== */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.features > div {
  background: #F4F7FA;
  border-radius: 14px;
  padding: 32px 28px 24px 28px;
  flex: 1 1 260px;
  min-width: 240px;
  box-shadow: 0 1px 6px 0 rgba(39,76,111,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.features > div:hover {
  box-shadow: 0 4px 24px 0 rgba(39,76,111,0.14);
  transform: translateY(-2px) scale(1.025);
}
.features img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.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;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px 0 rgba(39,76,111,0.07);
  padding: 28px 24px;
  flex: 1 1 280px;
  min-width: 240px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(39,76,111,0.12);
  transform: translateY(-2px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* =============== TESTIMONIAL & REVIEW CARDS =============== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #e7eff7;
  color: #22324B;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  box-shadow: 0 1px 8px 0 rgba(39,76,111,0.08);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-card p {
  color: #22324B;
  margin-bottom: 0;
  flex: 1 1 auto;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 500;
  color: #274C6F;
}

/* =============== INFO BOX =============== */
.info-box {
  background: #e8f2f5;
  color: #22324B;
  border-left: 4px solid #53A575;
  border-radius: 10px;
  padding: 18px 24px;
  margin-top: 24px;
  box-shadow: 0 0.5px 4px 0 rgba(39,76,111,0.06);
}

/* =============== FOOTER =============== */
footer {
  background: #274C6F;
  color: #fff;
  padding: 60px 0 0 0;
  margin-top: 60px;
  border-radius: 24px 24px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 20px 32px 20px;
}
.footer-logo img {
  height: 48px;
  margin-bottom: 24px;
  filter: brightness(99) saturate(1.4);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  opacity: 0.93;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.16s, opacity 0.16s;
  margin-bottom: 4px;
  padding: 2px 0;
}
footer nav a:hover {
  color: #53A575;
  opacity: 1;
}
.footer-contact {
  color: #d4e0f0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.8;
  margin-top: 12px;
}
.footer-contact img {
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-newsletter {
  background: #fff;
  color: #274C6F;
  border-radius: 14px;
  padding: 20px 28px;
  box-shadow: 0 2px 12px 0 rgba(39,76,111,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  margin-top: 12px;
}
.footer-newsletter h3 {
  color: #274C6F;
  margin-bottom: 4px;
  font-size: 1.1rem;
}
.footer-newsletter .button-secondary {
  margin-top: 8px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 18px;
}
.footer-social a img {
  height: 28px;
  transition: filter 0.2s, transform 0.15s;
}
.footer-social a:hover img {
  filter: brightness(0) saturate(1.6) invert(36%) sepia(82%) saturate(215%) hue-rotate(97deg) brightness(97%) contrast(95%);
  transform: scale(1.07);
}

/* =============== MOBILE-BURGER MENU =============== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 301;
  background: #274C6F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.35rem;
  padding: 10px 16px 6px 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(39,76,111,0.10);
  transition: background 0.14s, color 0.14s, transform 0.14s;
}
.mobile-menu-toggle:hover {
  background: #53A575;
  color: #fff;
  transform: scale(1.06);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #274c6fe8;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.6,0.04,0.98,0.335);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 32px;
  background: none;
  border: none;
  font-size: 2.7rem;
  color: #fff;
  z-index: 305;
  cursor: pointer;
  transition: color 0.18s, transform 0.18s;
}
.mobile-menu-close:hover {
  color: #53A575;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 110px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.38rem;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 8px;
  transition: background 0.11s, color 0.11s;
  width: 70vw;
  text-align: center;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #53A575;
  color: #fff;
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #22324B;
  color: #fff;
  z-index: 10000;
  box-shadow: 0 -2px 18px 0 rgba(39,76,111,0.11);
  padding: 28px 14px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  transition: transform 0.37s cubic-bezier(0.65,0.04,0.96,0.34);   
}
.cookie-banner.closed {
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  cursor: pointer;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: #53A575;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #3a855b;
}
.cookie-banner .decline {
  background: #e8f2f5;
  color: #274C6F;
}
.cookie-banner .decline:hover, .cookie-banner .decline:focus {
  background: #b0ccd7;
  color: #22324B;
}
.cookie-banner .settings {
  background: #fff;
  color: #274C6F;
  border: 1.5px solid #53A575;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #d2efe5;
}

/* =============== COOKIE SETTINGS MODAL =============== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,50,75,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.64,0.04,0.97,0.33);
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #22324B;
  border-radius: 16px;
  width: 96vw;
  max-width: 410px;
  padding: 34px 26px 28px 26px;
  box-shadow: 0 4px 32px rgba(39,76,111,0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #274C6F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 14px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #274C6F;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500;
  color: #274C6F;
}
.cookie-category input[type="checkbox"] {
  accent-color: #53A575;
  width: 20px; height: 20px;
}
.cookie-category.essential label { color: #53A575; }
.cookie-category.essential input {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal-content .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-content button {
  padding: 8px 18px;
  border-radius: 6px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-modal-content .accept {
  background: #53A575;
  color: #fff;
}
.cookie-modal-content .accept:hover, .cookie-modal-content .accept:focus {
  background: #3a855b;
}
.cookie-modal-content .cancel {
  background: #e7eff7;
  color: #274C6F;
}
.cookie-modal-content .cancel:hover, .cookie-modal-content .cancel:focus {
  background: #b0ccd7;
  color: #22324B;
}

/* =============== GENERAL LISTS & OL, UL STYLING =============== */
ul, ol {
  margin-top: 0;
  margin-bottom: 12px;
  padding-left: 18px;
  font-size: 1.05rem;
}
ul li, ol li {
  margin-bottom: 7px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* =============== MISC =============== */
main {
  padding-bottom: 50px;
}
::-webkit-scrollbar {
  width: 7px;
  background: #E7EFF7;
}
::-webkit-scrollbar-thumb {
  background: #b2c8de;
  border-radius: 4px;
}
/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
  .footer-newsletter {
    min-width: 160px;
  }
  .features > div, .card {
    min-width: 170px;
    flex-basis: 200px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 10px 10px;
  }
  .footer-newsletter {
    padding: 16px 10px;
  }
}
@media (max-width: 850px) {
  footer .container {
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  header nav, header .button-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 12px;
  }
  .footer-newsletter {
    padding: 10px 8px;
    min-width: 0;
  }
  footer .container {
    flex-direction: column;
    gap: 34px;
    align-items: flex-start;
    padding: 28px 12px 24px 12px;
  }
  .section {
    padding: 36px 8px;
    margin-bottom: 40px;
  }
  .features {
    gap: 16px;
  }
  .features > div, .card {
    min-width: unset;
    flex: 1 1 100%;
    padding: 20px 10px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 18px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  main {
    padding-bottom: 20px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.1rem; }
  .button-primary, .button-secondary {
    font-size: 1rem;
    padding: 10px 16px;
  }
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
}

/* =============== VISUAL HIERARCHY & MICRO-INTERACTIONS =============== */
.button-primary, .button-secondary, button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.16s;
}
a, button {
  transition: color 0.18s, background 0.16s;
}
.features > div:active, .card:active {
  transform: translateY(1.5px) scale(0.988);
}
.mobile-nav a:active {
  background: #3a855b;
}

/* =============== SPACING RULES (ENFORCED) =============== */
.section + .section, .card + .card, .testimonial-card + .testimonial-card, .features > div + div {
  margin-top: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features, .content-grid {
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* =============== PRINT FRIENDLY =============== */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}
