/* RESET & NORMALIZE (SCANDINAVIAN CLEAN PRESET) */
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, menu, 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, 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F8F8F6;
  color: #153047;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: #153047;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #B6C4C2; /* Secondary */
  outline: none;
}
/* COMMON CONTAINERS & STRUCTURE */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}
/* TYPOGRAPHY & HIERARCHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153047;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, li, span {
  color: #153047;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  font-weight: bold;
  color: #153047;
}
/* SECTION & LAYOUT SPACING */
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(44,64,54,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 680px) {
  section {
    padding: 24px 6px;
    margin-bottom: 34px;
  }
}
/* FLEX CONTAINERS (MANDATED PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44, 64, 54, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex: 1 1 230px;
  min-width: 220px;
}
.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: 22px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F3E3CE;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(44,64,54,0.06);
  margin-bottom: 20px;
  color: #153047;
  font-size: 1.1rem;
  min-width: 0;
  max-width: 700px;
}
.testimonial-card p {
  margin-bottom: 4px;
  color: #153047;
}
.testimonial-card strong {
  color: #153047;
  font-size: 0.98em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(44,64,54,0.05);
  padding: 20px 18px 20px 18px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(44,64,54,0.12);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
/* Utility for card lists & vertical rhythm */
.text-section ul, .text-section ol {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section p {
  margin-bottom: 10px;
}
/* LIST & FILTERS */
.categories-filter {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #153047;
  font-size: 0.98rem;
}
.categories-filter span {
  background: #F3E3CE;
  border-radius: 7px;
  padding: 3px 10px;
  margin-right: 3px;
}
/* BUTTONS & CTA */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #153047;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 500;
  padding: 13px 32px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44,64,54,0.09);
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
  text-decoration: none !important;
}
.cta-button:hover, .cta-button:focus {
  background: #B6C4C2;
  color: #153047;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 8px 18px rgba(44,64,54,0.13);
  outline: none;
}
button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  padding: 8px 20px;
  border: none;
  border-radius: 30px;
  background: #B6C4C2;
  color: #153047;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(44,64,54,0.06);
  transition: background 0.18s, color 0.18s, transform 0.13s;
}
button:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: #153047;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
/* HEADER NAVIGATION */
header {
  width: 100%;
  background: #fff;
  padding: 0px 0px 0px 0px;
  box-shadow: 0 4px 20px rgba(44,64,54,0.05);
  z-index: 90;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
}
header nav > a img {
  height: 37px;
  width: auto;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #153047;
  padding: 6px 15px;
  border-radius: 19px;
  background: transparent;
  transition: background 0.13s, color 0.13s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #F3E3CE;
  color: #153047;
}
header .cta-button {
  margin-left: 12px;
}
/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 202;
  margin-right: 14px;
  background: #F3E3CE;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,48,71, 0.98);
  z-index: 201;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.29s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 203;
  box-shadow: none;
  padding: 0;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F3E3CE;
  color: #153047;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 80px 32px 32px 36px;
  width: 100vw;
  max-width: 350px;
  min-height: 100vh;
  background: #fff;
  border-radius: 0 27px 27px 0;
  box-shadow: 8px 0 40px rgba(21,48,71,0.06);
  overflow-y: auto;
}
.mobile-nav a {
  color: #153047;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 13px 10px;
  border-radius: 17px;
  transition: background 0.12s, color 0.10s;
  margin-right: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3E3CE;
  color: #153047;
}
@media (max-width: 1024px) {
  header nav ul, header nav .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 680px) {
  .mobile-nav {
    max-width: 100vw;
    border-radius: 0;
    padding: 68px 13vw 23px 8vw;
  }
  .mobile-nav a {
    font-size: 1.09rem;
    padding: 15px 4px;
  }
}
/* MAIN & HERO STYLES */
main {
  flex: 1 1 0;
  min-height: 60vh;
  padding-bottom: 38px;
}
/* BLOG LISTS */
section ul > li {
  background: #FAFAF8;
  border-radius: 13px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(44,64,54,0.05);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
section ul > li > h3 {
  margin-bottom: 6px;
}
section ul > li > span {
  font-size: 0.90rem;
  color: #B6C4C2;
}
/* FAQ & OL */
section ol > li, .faq li {
  background: #F3E3CE;
  border-radius: 9px;
  padding: 14px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1.5px 5px rgba(44,64,54,0.04);
  color: #153047;
}
/* FOOTER */
footer {
  background: #f9f8f4;
  color: #153047;
  padding: 35px 0 17px 0;
  box-shadow: 0 -2px 22px rgba(44,64,54,0.03);
}
footer .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153047;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #B6C4C2;
}
footer .contact-details {
  font-size: 0.98rem;
  color: #153047;
}
footer a img {
  height: 38px;
  width: auto;
  margin-bottom: 13px;
}
@media (max-width: 780px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 999;
  background: #fff;
  border-top: 2.5px solid #B6C4C2;
  box-shadow: 0 -3px 40px rgba(21,48,71,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  font-size: 1.02rem;
  animation: slideUpCookie 0.48s cubic-bezier(0.67,0,0.35,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 0;
  color: #153047;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 19px;
  border-radius: 22px;
  border: none;
  background: #B6C4C2;
  color: #153047;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: #153047;
  color: #fff;
  font-weight: bold;
  border: 1.7px solid #153047;
}
.cookie-banner button.accept:hover {
  background: #092535;
}
.cookie-banner button.reject {
  background: #F8F8F6;
  color: #153047;
  border: 1.7px solid #B6C4C2;
}
.cookie-banner button.reject:hover {
  background: #B6C4C2;
  color: #153047;
}
.cookie-banner button.settings {
  border: 1.7px solid #B6C4C2;
  background: #F3E3CE;
  color: #153047;
}
.cookie-banner button.settings:hover {
  background: #B6C4C2;
  color: #153047;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    padding: 11px 9px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,33,41,0.43);
  z-index: 1002;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieOverlay 0.21s;
}
@keyframes fadeInCookieOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 6px 44px rgba(21,48,71,0.14);
  max-width: 400px;
  width: 100%;
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  animation: slideInCookieModal 0.27s cubic-bezier(0.74,0.01,0.16,1.01);
  position: relative;
}
@keyframes slideInCookieModal {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  background: #B6C4C2;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #153047;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 3px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
  box-shadow: 0 1px 5px rgba(44,64,54,0.12);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .cookie-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  background: transparent;
  color: #B6C4C2;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #153047;
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 23px 10px 17px 14px;
  }
}
/* ANIMATION ENHANCEMENTS */
.cta-button, .card, .feature-grid > div, .testimonial-card, .content-wrapper > *, .cookie-banner {
  transition: box-shadow 0.2s, background 0.17s, color 0.17s, transform 0.18s, opacity 0.18s;
}
/* MISCELLANEOUS & WHITE SPACE */
hr {
  border: none;
  border-top: 1.5px solid #E1E5E3;
  margin: 32px 0;
}
div, section, article {
  min-width: 0;
}
/* ACCESSIBILITY FOCUSES */
a:focus, button:focus {
  outline: 2px solid #153047;
  outline-offset: 2px;
}
/* MEDIA QUERIES FOR FLEXBOX LAYOUTS */
@media (max-width: 1022px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 830px) {
  .feature-grid {
    flex-direction: column;
    gap: 23px;
  }
}
@media (max-width: 680px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  section .content-wrapper { gap: 15px; }
  .card, .feature-grid > div { padding: 14px 9px; min-width: 0; }
  .section { padding: 20px 2px; }
}
/* SCANDINAVIAN DESIGN ACCENTS */
section {
  border: 1.5px solid #F3E3CE;
}
.testimonial-card {
  border: 1.3px solid #B6C4C2;
}
.feature-grid > div {
  border: 1.3px solid #B6C4C2;
}
.card {
  border: 1.3px solid #B6C4C2;
}
/* Hide scroll overflow on mobile-menu overlay */
body.mobile-menu-open {
  overflow-y: hidden;
}
