/* RESET & BASE TYPOGRAPHY —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: #F8F9FA;
  color: #175973;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border-radius: 0;
}
a {
  color: #175973;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0e3f53;
  text-decoration: underline;
}

/* BRAND FONT IMPORTS —–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* CONTAINER & SECTION STRUCTURE —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(23,89,115,0.05);
}

/* TYPE SCALE & HEADINGS —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: #175973;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin: 40px 0 18px 0;
}
h3 {
  font-size: 1.25rem;
  margin: 24px 0 14px 0;
}
p {
  font-size: 1.125rem;
  margin-bottom: 18px;
  color: #224e62;
}
strong {
  font-weight: 700;
}

/* LAYOUT COMPONENTS & FLEX GROUPS —––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(23,89,115,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 24px 20px 24px;
  min-width: 260px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 36px 0 rgba(23,89,115,0.12);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}
.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: #F8F9FA;
  border: 2.5px solid #A3CCB5;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px 0 rgba(23,89,115,0.10);
  color: #164455;
  max-width: 500px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: #175973;
  font-size: 1.125rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #218491;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 30px 0 rgba(163,204,181, 0.16);
  border-color: #175973;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

ul, ol {
  font-size: 1rem;
  line-height: 1.74;
  margin-bottom: 16px;
  color: #224e62;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 10px;
  height: 10px;
  background: #A3CCB5;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* BUTTONS, CTA & INTERACTIVE —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.cta-primary, .cta-secondary, button, .mobile-menu-toggle {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 100px;
  padding: 12px 36px;
  background: #175973;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 1.5px 12px 0 rgba(23,89,115,0.11);
  transition: background 0.19s, box-shadow 0.18s, transform 0.18s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus, .cta-secondary:hover, .cta-secondary:focus, button:hover, button:focus, .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #218491;
  color: #fff;
  box-shadow: 0 5px 18px 0 rgba(23,89,115,0.13);
  transform: translateY(-1.8px) scale(1.035);
}

.cta-secondary {
  background: #A3CCB5;
  color: #175973;
  border: 2px solid #175973;
  margin-left: 10px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #175973;
  color: #fff;
}

/* HEADER & NAVIGATION —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(23,89,115,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 22px;
  min-height: 74px;
  z-index: 52;
  position: relative;
}
header > a img {
  height: 48px;
  width: auto;
  margin: 8px 0;
}
header nav {
  display: flex;
  gap: 0 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #175973;
  padding: 6px 2px;
  border-radius: 6px;
  transition: background 0.19s, color 0.18s;
  margin-right: 0px;
  position: relative;
}
header nav a.cta-primary {
  margin-left: 18px;
  padding: 10px 28px;
  font-size: 1.16rem;
  letter-spacing: 0.07em;
}
header nav a:not(.cta-primary):hover, header nav a:not(.cta-primary):focus {
  background: #A3CCB5;
  color: #164455;
}
header nav a.active, header nav a[aria-current="page"] {
  background: #A3CCB5;
  color: #175973;
}
.mobile-menu-toggle {
  display: none;
  background: #175973;
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: 8px 16px;
  min-width: 44px;
  min-height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  z-index: 105;
  position: relative;
  transition: background 0.18s;
}

/* MOBILE MENU STYLES —–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  background: #F8F9FA;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.37s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 3px 70px 0 rgba(23,89,115,0.11);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0%);
}
.mobile-menu-close {
  background: #175973;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  box-shadow: none;
  padding: 10px 22px;
  margin: 18px 20px 0 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #218491;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 50px;
  width: 100%;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border-radius: 7px;
  color: #175973;
  font-weight: 700;
  padding: 10px 0;
  margin-bottom: 8px;
  width: 100%;
  display: block;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A3CCB5;
  color: #175973;
}


/* MAIN LAYOUT & SPACING PATTERNS —–––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
main {
  width: 100%;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  position: relative;
  background: none;
}

/* Footer Styles —––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
footer {
  width: 100%;
  background: #175973;
  color: #fff;
  padding: 40px 0 15px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(23,89,115,0.08);
  font-size: 1.05rem;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-right: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #A3CCB5;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  margin-bottom: 0;
  border-radius: 5px;
  padding: 3px 3px;
  transition: background 0.18s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: #A3CCB5;
  color: #164455;
}
footer .text-section {
  font-size: 0.97rem;
  color: #F8F9FA;
  gap: 6px;
}
footer strong, footer span {
  color: #fff;
  font-weight: 700;
}
footer img {
  height: 27px;
  margin-right: 7px;
}

/* Cookie Consent Banner  —–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #175973;
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -2px 16px 0 rgba(23,89,115,0.15);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.09rem;
  animation: dropInBanner 0.45s cubic-bezier(.38,.72,0,1.04);
}
@keyframes dropInBanner {
  0% { transform: translateY(120%); opacity:0; }
  80% { transform: translateY(-12px); opacity:1; }
  100% { transform: translateY(0%); opacity:1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .cta-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 50px;
  background: #A3CCB5;
  color: #175973;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  transition: background 0.17s, color 0.15s;
  cursor: pointer;
  font-size: 1.08rem;
}
.cookie-banner button.accept {
  background: #fff;
  color: #175973;
}
.cookie-banner button:hover, .cookie-banner .cta-cookie:hover, .cookie-banner button:focus, .cookie-banner .cta-cookie:focus {
  background: #175973;
  color: #fff;
}

/* Cookie Modal —–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(23, 89, 115, 0.68);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 44px 0 rgba(23,89,115,0.15);
  padding: 32px 22px 22px 32px;
  max-width: 430px;
  width: 88vw;
  color: #175973;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modalAppear 0.31s cubic-bezier(.43,.88,.23,1.26);
}
@keyframes modalAppear {
  0% { transform: scale(.82) translateY(50px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal__header h3 {
  margin: 0 0 6px 0;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #175973;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #A3CCB5;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
}
.cookie-modal__category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #A3CCB5;
  border-radius: 4px;
  border: 1.8px solid #175973;
  margin-right: 5px;
}
.cookie-modal__category input:disabled {
  filter: grayscale(65%);
  opacity: 0.48;
}
.cookie-modal__category label {
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal__footer {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal__footer button {
  background: #A3CCB5;
  color: #175973;
  border-radius: 100px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  font-size: 1.08rem; 
}
.cookie-modal__footer button.accept {
  background: #175973; color: #fff;
}
.cookie-modal__footer button:hover, .cookie-modal__footer button:focus {
  background: #218491; color: #fff;
}

/* Responsive Design (Mobile-first) —–––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
@media (max-width: 1280px) {
  .container { max-width: 880px; }
}
@media (max-width: 1024px) {
  .container { max-width: 720px; }
  .footer .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  header nav { gap: 0 14px; }
  section { padding: 34px 0 34px 0; }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding-left: 8px; padding-right: 8px; }
  .footer .container, footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .feature-item {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 94vw;
  }
  section {
    padding: 22px 0 22px 0;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.35rem;
    margin: 27px 0 10px 0;
  }
}
@media (max-width: 540px) {
  header {
    padding: 0 6px;
  }
  header > a img {
    height: 38px;
  }
  .cookie-banner {
    font-size: 0.95rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 7vw 18px 10vw;
  }
  .cookie-banner__actions {
    gap: 9px;
    flex-wrap: wrap;
  }
  footer {
    padding: 28px 0 9px 0;
    border-radius: 13px 13px 0 0;
  }
  section, .section {
    padding: 14px 0 14px 0;
    margin-bottom: 28px;
  }
  h1 {
    font-size: 1.28rem;
    margin-bottom: 9px;
  }
  h2 {
    font-size: 1.1rem;
    margin: 18px 0 6px 0;
  }
}

/* Micro-interactions & Geometric Details —–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3 {
  text-transform: none;
  font-variation-settings: 'wght' 750;
}

/* Cards geometric corners */
.card, .testimonial-card, .section, .cookie-modal__content {
  border-radius: 16px 48px 18px 36px/20px 34px 30px 24px;
}
.card {
  border: 2.2px solid #A3CCB5;
}
.card:hover, .card:focus-within {
  border-color: #175973;
}

/* Button geometric/structured effect */
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-modal__footer button {
  border-radius: 80px 200px 80px 170px/90px 120px 60px 110px;
  box-shadow: 0 1px 8px 0 rgba(23,89,115,0.08);
}

/* Feature icons or bullets geometrically distinct (see ul li:before above) */

/* Misc — Prevent overlap */
.card, .testimonial-card, .section, .feature-item, .card-container > * {
  margin-bottom: 20px;
}

/* Accessibility: high contrast for testimonials & banners */
.testimonial-card {
  background: #F8F9FA;
  border-color: #A3CCB5;
  color: #164455;
}

/* Hide elements helpers */
[hidden], .hidden { display: none !important; }

/* Print hide nav and footer */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
