/* 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;
  background: #F5F7FA;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  outline: none;
  padding: 0;
  margin: 0;
  color: inherit;
}

/* BRAND TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1C3C5A;
  background: #F5F7FA;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #1C3C5A;
}
strong {
  font-weight: 700;
}

/* GEOMETRIC STRUCTURED STYLE */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper, .feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(28, 60, 90, 0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(28,60,90,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  padding: 32px 20px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(28,60,90,0.12);
}
.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: 20px;
  padding: 20px;
  background: #F5F7FA;
  border-radius: 16px;
  border: 2.5px solid #1C3C5A11;
  box-shadow:0 4px 20px 0 rgba(28,60,90,0.04);
  font-size: 1.08rem;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 485px;
}
.testimonial-card strong {
  color: #1C3C5A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  border-radius: 8px;
  background: #1C3C5A;
  color: #fff;
  border: 2.5px solid #1C3C5A;
  box-shadow: 0 2px 8px 0 rgba(28,60,90,0.10);
  transition: background 0.16s, color 0.16s, transform 0.13s;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #58A55A;
  color: #1C3C5A;
  border-color: #58A55A;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  display: inline-flex;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  background: #F5F7FA;
  color: #1C3C5A;
  border: 2px solid #1C3C5A;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
  margin-top: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1C3C5A;
  color: #fff;
}

/* HEADER / NAVIGATION */
header {
  background: #fff;
  border-bottom: 2.5px solid #e3e9f2;
  box-shadow: 0 2px 6px 0 rgba(28,60,90,0.06);
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  color: #1C3C5A;
  letter-spacing:0.02em;
  position:relative;
  padding: 6px 8px;
  transition: color 0.14s;
}
header nav a:hover, header nav a:focus {
  color: #58A55A;
}
header .btn-primary {
  margin-left: 20px;
}

/* HAMBURGER MENU (MOBILE) */
.mobile-menu-toggle {
  display: none;
  background: #1C3C5A;
  color: #fff;
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1300;
  border: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover {
  background: #58A55A;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1C3C5Af8;
  color: #fff;
  z-index: 2000;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.64,.04,.35,1.41);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 28px 0 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 26px; top: 28px;
  background: #fff;
  color: #1C3C5A;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2050;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover {
  background: #58A55A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 64px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  padding: 13px 0;
  border-bottom: 2px solid #58A55A44;
  transition: color 0.13s, background 0.15s;
  color: #fff;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #58A55A;
  background: #1C3C5A44;
}

/* MAIN CONTENT & SECTION LAYOUTS */
main {
  width: 100%;
  margin-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section > .container > h2 {
  margin-bottom: 32px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-data {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-data div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-data a {
  color: #1C3C5A;
  font-weight: 700;
}
.contact-data a:hover {
  color: #58A55A;
  text-decoration: underline;
}
.contact-note {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 18px 20px;
  border: 2.5px solid #1C3C5A11;
  margin-top: 8px;
}

ol {
  margin-left: 18px;
  margin-bottom: 16px;
  padding-left: 10px;
}
ul {
  margin-left: 16px;
  margin-bottom: 16px;
  padding-left: 10px;
}
ul > li, ol > li {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}
ul > li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #58A55A;
  border-radius: 2px;
  margin-right: 10px;
  position: absolute;
  left: 0; top: 8px;
}

.content-wrapper > div, .feature-grid > div {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 2px 16px rgba(28,60,90,0.06);
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  border-left: 5px solid #58A55A22;
}
.feature-grid > div > img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}


/* FOOTER */
footer {
  background: #1C3C5A;
  color: #fff;
  padding: 48px 0 24px 0;
  font-size: 1rem;
  border-top: 3px solid #58A55A;
  box-shadow: 0 -3px 16px 0 #1c3c5a0a;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 44px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.footer-brand img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  transition: color 0.13s;
  letter-spacing: 0.02em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #58A55A;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #F5F7FA;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 18px; height: 18px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
.footer-social a img {
  width: 32px; height: 32px;
  filter: grayscale(1) brightness(1.3);
  transition: filter 0.14s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1);
}
.footer-copyright {
  width: 100%;
  margin-top: 26px;
  font-size: 0.98rem;
  color: #bbccd8;
  letter-spacing: 0.01em;
  text-align: center;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  color: #1C3C5A;
  border-top: 3px solid #58A55A;
  box-shadow: 0 -4px 24px 0 #1C3C5A22;
  padding: 20px 32px;
  z-index: 5000;
  font-size: 1.05rem;
  transition: transform 0.34s cubic-bezier(.75,.04,.35,1.41);
  transform: translateY(0%);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-msg {
  flex: 2 1 350px;
  margin-right: 12px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex: 1 1 auto;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 7px;
  padding: 9px 24px;
  border: 1.5px solid #1C3C5A;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
  background: #F5F7FA;
  color: #1C3C5A;
}
.cookie-banner button.accept {
  background: #58A55A;
  border-color: #58A55A;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #1C3C5A;
  color: #fff;
  border-color: #1C3C5A;
}
.cookie-banner button.settings {
  background: #fff;
  border-color: #1C3C5A;
  color: #1C3C5A;
}
.cookie-banner button.settings:hover {
  background: #F5F7FA;
  color: #58A55A;
}
.cookie-banner button.reject {
  background: #fff;
  border-color: #eee;
  color: #1C3C5A;
  opacity: 0.85;
}
.cookie-banner button.reject:hover {
  background: #bbccd8;
  color: #fff;
  border-color: #1C3C5A;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #1C3C5A99;
  z-index: 5500;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1C3C5A;
  padding: 38px 32px 32px 32px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 44px 0 #1C3C5A33;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  color: #1C3C5A;
  font-size: 1.6rem;
  border-radius: 50%;
  border: none;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .modal-close:hover {
  background: #58A55A;
  color: #fff;
}
.cookie-modal ul {
  margin: 0 0 16px 0;
}
.cookie-preference-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 0;
}
.cookie-toggle-row label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e5ecf1;
  border-radius: 18px;
  transition: background 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #58A55A;
}
.toggle-slider:before {
  position: absolute;
  content: '';
  height: 19px;
  width: 19px;
  left: 2.5px;
  bottom: 2.5px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 2px 8px #1C3C5A11;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(23px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  margin-top: 0;
}


/* MICRO INTERACTIONS */
a, button {
  transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.13s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1050px) {
  .container {
    max-width: 97vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px 0;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-social {
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .feature-grid, .content-wrapper {
    gap: 16px;
  }
  .card-container {
    gap: 14px;
    flex-direction: column;
  }
  .card {
    min-width: unset;
    padding: 20px 12px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-brand img {
    height: 30px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.97rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-msg {
    margin-right: 0;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    flex-wrap: wrap;
    gap: 9px;
  }
  .cookie-modal {
    min-width: 92vw;
    padding: 30px 8vw 24px 8vw;
  }
}
@media (max-width: 600px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
  nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    padding-top: 14px;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .footer-nav, .footer-contact, .footer-social {
    margin-bottom: 6px;
  }
  .footer-brand {
    margin-bottom: 18px;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 14px;
  }
  .section, section {
    padding: 22px 3vw;
    margin-bottom: 36px;
  }
  .cookie-modal {
    padding: 18px 3vw 12px 3vw;
  }
}
