/* --- 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, main, 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;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #17456D;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.5em;
  padding-left: 1.25em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #17456D;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.6,0,.4,1);
}
a:hover, a:focus {
  color: #42AC7B;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #17456D;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}
p, li, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #17456D;
}

strong, b {
  font-weight: bold;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 3px solid #EAF1F8;
  box-shadow: 0 2px 12px 0 rgba(23,69,109,0.04);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
header img {
  height: 44px;
  margin-right: 36px;
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #17456D;
  padding: 2px 0px;
  transition: color 0.14s cubic-bezier(.6,0,.4,1);
}
header nav a:hover, header nav a:focus {
  color: #42AC7B;
}

.cta-button {
  background: #42AC7B;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 900;
  padding: 13px 32px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 22px 0 rgba(66,172,123,0.18);
  letter-spacing: 1.2px;
  margin-left: 30px;
  transition: background 0.14s, box-shadow 0.14s, transform 0.14s;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #17456D;
  color: #fff;
  box-shadow: 0 8px 36px 0 rgba(66,172,123,0.20);
  transform: translateY(-2px) scale(1.03);
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1000px) {
  header .container nav,
  header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: #fff;
    border: 2px solid #17456D;
    color: #17456D;
    border-radius: 9px;
    width: 52px;
    height: 52px;
    position: absolute;
    right: 18px;
    top: 13px;
    z-index: 51;
    box-shadow: 0 2px 16px 0 rgba(23,69,109,0.07);
    cursor: pointer;
    transition: background .18s, color .18s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #EAF1F8;
    color: #42AC7B;
    border-color: #42AC7B;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -6px 0 36px 0 rgba(23,69,109,0.17);
    transform: translateX(100vw);
    transition: transform .36s cubic-bezier(.47,.47,0,1.06);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #17456D;
    cursor: pointer;
    z-index: 1011;
    border-radius: 9px;
    transition: background 0.17s;
    width: 54px;
    height: 54px;
    line-height: 54px;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #EAF1F8;
    color: #42AC7B;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    height: 100vh;
    padding-top: 40px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 14px 0;
    color: #17456D;
    text-decoration: none;
    letter-spacing: 0.8px;
    border-radius: 6px;
    transition: background 0.13s, color 0.13s;
    display: block;
    width: 80vw;
    text-align: center;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #EAF1F8;
    color: #42AC7B;
  }
}

/*--- HERO SECTION ---*/
.hero {
  background: #EAF1F8;
  width: 100%;
  padding: 74px 0 56px;
  margin-bottom: 60px;
  position: relative;
  box-shadow: 0 6px 20px 0 rgba(23,69,109,0.07);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  text-align: left;
}
.hero h1 {
  color: #17456D;
  margin-bottom: 10px;
}
.hero p {
  color: #17456D;
  font-size: 1.13rem;
  margin-bottom: 14px;
}
.hero .cta-button {
  margin-top: 18px;
}

/* --- MAIN SECTIONS & LAYOUT ALIGNMENT PATTERNS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
}
/* Card Containers */
.card-container, .card-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  box-shadow: 0 2px 15px 0 rgba(23,69,109,0.06);
  border-radius: 16px;
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 10px 30px 0 rgba(66,172,123,0.12);
}
.feature-grid > div, .card-grid > div {
  flex: 1 1 260px;
  min-width: 250px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px 0 rgba(23,69,109,0.05);
  padding: 30px 18px 23px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .12s, box-shadow .12s;
}
.feature-grid > div:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 8px 28px 0 rgba(66,172,123,0.09);
}
.feature-grid > div img {
  width: 46px; height: 46px; margin-bottom: 11px;
}
.feature-grid h3 { color: #17456D; }
.feature-grid p { color: #17456D; }

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 1.5em;
}
.text-section li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #17456D;
  display: flex;
  align-items: center;
  gap: 8px;
}
.text-section img {
  width: 22px; height: 22px; display: inline-block;
}
.text-section a {
  color: #65ffb8;
  font-weight: bold;
  text-decoration: underline;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 26px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(23,69,109,0.09);
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 375px;
  transition: transform .14s, box-shadow .15s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.014);
  box-shadow: 0 8px 34px -3px rgba(23,69,109,0.16);
}
.testimonial-card p {
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #17456D;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: bold;
  color: #42AC7B;
  letter-spacing: .4px;
}

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

/* --- BUTTONS --- */
button, .cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 30px;
  transition: background .16s, box-shadow .12s, color .1s, transform .1s;
}

/* --- FOOTER --- */
footer {
  background: #17456D;
  color: #fff;
  width: 100%;
  margin-top: 40px;
  padding: 38px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #EAF1F8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 2px 0px;
  letter-spacing: 0.5px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #42AC7B;
}
footer .text-section p {
  color: #EAF1F8;
  font-size: .97rem;
  margin-top: 12px;
}

/* --- SPACING PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST) --- */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .feature-grid > div, .card-grid > div {
    min-width: 180px;
    padding: 22px 8px 17px 8px;
  }
  .testimonial-card {
    min-width: 180px;
    padding: 18px 8px;
  }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.36rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 95vw;
    padding: 0 6px;
  }
  .hero {
    padding: 48px 0;
    margin-bottom: 30px;
  }
  .content-wrapper, .feature-grid, .card-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .testimonial-card {
    max-width: 100%;
    width: 100%;
    min-width: unset;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  header .container {
    min-height: 57px;
    padding: 0 6px;
  }
  footer .container, footer nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cta-button {
    width: 100%;
    min-width: 0;
    padding: 13px 0;
    margin-left: 0;
    text-align: center;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #17456D;
  color: #fff;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 24px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  box-shadow: 0 -6px 32px 0 rgba(23,69,109,0.20);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .36s, opacity .21s;
}
.cookie-banner.visible {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  max-width: 800px;
  font-size: 1.08rem;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: bold;
}
.cookie-accept {
  background: #42AC7B;
  color: #fff;
  border: none;
  margin-right: 4px;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fff;
  color: #42AC7B;
  border: 2px solid #42AC7B;
}
.cookie-reject {
  background: #fff;
  color: #17456D;
  border: 2px solid #EAF1F8;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #42AC7B;
  color: #fff;
  border: 2px solid #42AC7B;
}
.cookie-settings {
  background: #17456D;
  color: #fff;
  border: 2px solid #42AC7B;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #42AC7B;
  color: #fff;
}

@media (max-width:700px) {
  .cookie-banner, .cookie-banner .cookie-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 7px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 7px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  background: rgba(23,69,109,0.61);
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 44px 0 rgba(23,69,109,0.18);
  min-width: 330px;
  max-width: 92vw;
  padding: 38px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  position: relative;
  animation: modalShow .35s cubic-bezier(0.2,0.93,0.22,1.00);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
@keyframes modalShow {
  0% { transform: scale(0.86) translateY(42px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #17456D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  margin-bottom: 4px;
  font-size: 1.35rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 16px 0 2px 0;
}
.cookie-modal-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #42AC7B;
}
.cookie-modal-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #17456D;
  font-size: 1.05rem;
}
.cookie-modal-category span {
  font-size: 0.97rem;
}
.cookie-modal .close {
  position: absolute;
  right: 19px;
  top: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #42AC7B;
  cursor: pointer;
  border-radius: 7px;
  padding: 0 3px;
  transition: background 0.13s;
}
.cookie-modal .close:hover { background: #EAF1F8; }
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 1rem;
  background: #42AC7B;
  color: #fff;
  transition: background .12s, color .08s;
  cursor: pointer;
}
.cookie-modal-actions .cookie-cancel {
  background: #fff;
  color: #17456D;
  border: 2px solid #42AC7B;
}
.cookie-modal-actions .cookie-cancel:hover {
  background: #EAF1F8;
  color: #42AC7B;
}
.cookie-modal-actions .cookie-save {
  background: #42AC7B;
  color: #fff;
}
.cookie-modal-actions .cookie-save:hover {
  background: #17456D;
  color: #fff;
}

/* --- GEOMETRIC DECORATIVE ELEMENTS --- */
.hero:before {
  content: '';
  display: block;
  position: absolute;
  right: -50px;
  top: 22px;
  width: 130px;
  height: 130px;
  background: #42AC7B;
  opacity: 0.08;
  border-radius: 50%;
  z-index: 1;
}
.hero:after {
  content: '';
  display: block;
  position: absolute;
  left: -42px;
  bottom: 18px;
  width: 110px;
  height: 78px;
  background: #42AC7B;
  opacity: 0.08;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero:before, .hero:after { display: none; }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: box-shadow 0.14s, transform 0.14s, background 0.14s, color 0.14s;
}
button:active, .cta-button:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.98);
}

input, textarea, select {
  border-radius: 10px;
  border: 2px solid #EAF1F8;
  padding: 10px 13px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  width: 100%;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #42AC7B;
  outline: none;
}

/* --- ACCESSIBILITY / FOCUS STYLES --- */
a:focus, .cta-button:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid #42AC7B;
  outline-offset: 2px;
  background: #EAF1F8;
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 12px;
  background: #EAF1F8;
}
::-webkit-scrollbar-thumb {
  background: #42AC7B;
  border-radius: 6px;
}

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