/* ==== 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #fff;
  color: #22344A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}
a:focus {
  outline: 2px solid #768F5D;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
img, svg {
  display: inline-block;
  max-width: 100%;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22344A;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.38rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, li, span, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22344A;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 700; }
em { font-style: italic; }

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
}

/* ==== GENERAL LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,52,74,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
}
.header-wrapper img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22344A;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #768F5D;
  border-bottom: 2px solid #768F5D;
}
.cta-btn {
  background: #22344A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 11px 32px;
  margin-left: 28px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(34,52,74,.06);
  transition: background .18s, box-shadow .2s, color .2s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #768F5D;
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(34,52,74,.10);
}
@media (max-width: 1024px) {
  .header-wrapper {
    padding: 10px 10px;
  }
  .main-nav a {
    font-size: .98rem;
    padding: 4px 0;
  }
  .cta-btn { margin-left: 14px; padding: 10px 26px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
}
/* Hide main nav and CTA on mobile */
@media (max-width: 860px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid #22344A;
  color: #22344A;
  border-radius: 100px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1100;
  justify-content: center;
  align-items: center;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #768F5D;
}
@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  z-index: 1201;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,52,74, .92);
  color: #fff;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 30px 26px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 60px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.98;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .17s, border .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F9F7F1;
  border-bottom: 1px solid #768F5D;
}

/* ==== HERO ==== */
.hero {
  min-height: 360px;
  padding: 56px 0 32px 0;
  background: #F9F7F1;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.hero h1 {
  color: #22344A;
}
.hero p {
  font-size: 1.17rem;
  margin-bottom: 20px;
  color: #768F5D;
}
.hero .cta-btn {
  margin: 0;
  font-size: 1.09rem;
}
@media (max-width: 700px) {
  .hero {
    min-height: 180px;
    padding: 40px 0 20px 0;
  }
  .hero .container {
    gap: 18px;
  }
  .hero h1 { font-size: 1.38rem; }
}

/* ==== FEATURES / CARDS / TESTIMONIALS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(34,52,74,0.08);
  padding: 30px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 350px;
  transition: box-shadow .18s, transform .14s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 30px 0 rgba(118,143,93,.12);
  transform: translateY(-8px) scale(1.02);
}
.feature-grid img {
  width: 44px;
  margin-bottom: 12px;
  filter: grayscale(10%) saturate(0.8);
}
.feature-grid h3 {
  margin-bottom: 12px;
  color: #22344A;
  font-size: 1.15rem;
}
.feature-grid p {
  color: #22344A;
  font-size: .98rem;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-grid > div { max-width: 100%; min-width: 0; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(34,52,74,0.09);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow .18s, transform .14s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(118,143,93,.12);
  transform: translateY(-8px) scale(1.02);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(34,52,74,0.07);
  margin-bottom: 20px;
  font-size: 1.09rem;
  color: #22344A;
  transition: box-shadow .14s, transform .13s;
  min-width: 0;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(34,52,74,0.14);
  transform: scale(1.02);
}
.testimonial-card p {
  margin: 0 0 0 0;
  font-size: 1rem;
  color: #22344A;
}
.testimonial-card span {
  font-size: .98rem;
  color: #768F5D;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .blog-list { flex-direction: column; gap: 14px; }
}

/* ==== INFOBOXES/FAQ ==== */
.infoboxes {
  background: #F9F7F1;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(34,52,74, 0.06);
  margin-top: 22px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(34,52,74,.06);
  padding: 20px 18px;
  transition: box-shadow .13s, transform .13s;
}
.faq-list > div:hover {
  box-shadow: 0 4px 14px 0 rgba(118,143,93,.09);
  transform: translateY(-3px) scale(1.01);
}
.faq-list h3 { margin-bottom: 8px; color: #22344A; }

/* ==== BUTTONS ==== */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 30px;
  background: #22344A;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 10px 28px;
  transition: background .18s, box-shadow .23s, color .2s;
  cursor: pointer;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #768F5D;
  color: #fff;
}

/* ==== LISTS ==== */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
  color: #22344A;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.2em;
}

/* ==== FOOTER ==== */
footer {
  background: #F9F7F1;
  padding: 36px 0 16px 0;
  border-top: 1.5px solid #eef0ea;
  font-size: .97rem;
  color: #22344A;
}
.footer-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-wrapper img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.footer-nav a {
  color: #22344A;
  font-family: 'Montserrat';
  font-size: 0.97rem;
  opacity: 0.93;
  transition: color .15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #768F5D;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
@media (max-width: 800px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 0 10px;
  }
}

/* ==== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2002;
  background: #22344A;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 12px 18px 12px;
  box-shadow: 0 -3px 16px 0 rgba(34,52,74, 0.14);
  animation: banner-slide-up .6s cubic-bezier(0.46,0.03,0.52,0.96);
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}
.cookie-btn,
.cookie-consent-banner button {
  padding: 8px 22px;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  background: #768F5D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .18s;
  cursor: pointer;
}
.cookie-btn.secondary {
  background: #fff;
  color: #22344A;
  border: 1.5px solid #768F5D;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #f1f3ed;
}
.cookie-btn:focus {
  outline: 2px solid #22344A;
}
.cookie-btn.accept {
  background: #768F5D;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #5d7247;
  color: #fff;
}
.cookie-btn.reject {
  background: #F9F7F1;
  color: #22344A;
  border: 1.5px solid #22344A;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #cfd9c9;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2100;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,52,74,0.64);
}
.cookie-modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .32s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #22344A;
  border-radius: 16px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 40px 0 rgba(34,52,74,0.19);
  padding: 36px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-fade-in .39s cubic-bezier(.41,.04,.58,1.00);
}
@keyframes modal-fade-in {
  from { transform: translateY(40px) scale(.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.19rem;
  margin-bottom: 5px;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  min-height: 32px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #eef0ea;
  border-radius: 30px;
  position: relative;
  outline: none;
  border: 1px solid #d1dec5;
  transition: background .18s;
}
.cookie-modal .cookie-toggle:checked {
  background: #768F5D;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 100%;
  transition: left .18s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  color: #22344A;
  font-size: 1.55rem;
  border: none;
  cursor: pointer;
}
/* Essential cookies always enabled style */
.cookie-modal .cookie-toggle[disabled],
.cookie-modal .cookie-toggle[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 8px 10px 8px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* ==== RESPONSIVITY OVERRIDES ==== */
@media (max-width: 700px) {
  .container {
    padding: 0 2vw;
  }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 600px) {
  .header-wrapper {
    padding: 10px 4px;
  }
  .section { padding: 20px 4px; }
  .footer-wrapper { padding: 0 4px; }
  .cookie-consent-banner { padding: 16px 4vw 12px 4vw; }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.cta-btn,
button,
.card,
.feature-grid > div,
.testimonial-card,
.faq-list > div {
  transition: box-shadow .18s, transform .13s, background .22s, color .22s;
}
a, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: color .19s, border-color .19s, background .19s;
}

/* ==== ADDITIONAL UTILITIES ==== */
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ==== END ==== */
