/* --- RESET & FOUNDATION --- */
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;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #FAFAF8;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #175574;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

ul, ol {
  list-style-position: inside;
  margin-left: 0;
}

a {
  color: #175574;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E48B3C;
  outline: none;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #175574;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
h1 {
  font-size: 2rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, dt, dd {
  color: #355E73;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #175574;
  font-weight: 700;
}
.text-section p, .text-section ul, .text-section ol {
  max-width: 650px;
}

/* --- SPACING & FLEX LAYOUTS: MANDATORY PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(71, 87, 102, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
  background: #F2E6D9;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(100, 128, 150,0.06);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(71,87,102,0.14);
  transform: translateY(-2px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAF5EE;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(224, 190, 158, 0.13);
  margin-bottom: 20px;
  color: #174153;
  font-size: 1.08rem;
  font-style: italic;
  border: 1.5px solid #f7e2cb;
}
.testimonial-card p {
  margin: 0 0 4px 0;
  color: #174153;
  font-style: italic;
}
.testimonial-card span {
  display: block;
  font-size: 0.97rem;
  color: #87603b;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO / SERVICE / ARTICLE / FLEXCARDS --- */
.hero {
  background: linear-gradient(140deg, #F6EFE8 70%, #EBD8FA 100%);
  border-radius: 24px;
  padding: 44px 0 54px 0;
  margin-bottom: 56px;
}
.hero .content-wrapper {
  align-items: flex-start;
}

.service-list,
.article-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.service-list > div,
.article-teasers > div {
  background: #F2E6D9;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px rgba(230,176,120,0.06);
  padding: 24px 20px;
  flex: 1 1 250px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-list > div:hover, .article-teasers > div:hover {
  box-shadow: 0 5px 30px rgba(138,196,210,0.08);
  transform: translateY(-3px) scale(1.025);
}

/* --- BUTTONS --- */
.btn, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 26px;
  margin: 6px 8px 6px 0;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  transition: background .19s, color .19s, box-shadow .2s, transform .15s;
  background: #E48B3C;
  color: #fff;
  box-shadow: 0 2.5px 9px rgba(228,139,60,0.11);
  text-shadow: none;
}
.btn:hover, .btn:focus {
  background: #C06000;
  color: #fff;
  box-shadow: 0 4px 18px rgba(228,139,60,0.16);
  transform: translateY(-2px) scale(1.01);
  outline: none;
}
.btn-primary {
  background: #175574;
  color: #fff;
  box-shadow: 0 2.5px 11px rgba(23,85,116,0.12);
}
.btn-primary:hover, .btn-primary:focus {
  background: #0f2c46;
  color: #fff;
}

/* --- HEADER / NAVIGATION --- */
header {
  width: 100%;
  background: #F6EFE8;
  box-shadow: 0 2.5px 10px rgba(128,143,178,0.06);
  position: relative;
  z-index: 810;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 12px 18px 12px;
  gap: 10px;
  position: relative;
}
header img {
  height: 38px;
  width: auto;
}
nav.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 8px;
  color: #175574;
  text-decoration: none;
  transition: background .14s, color .14s;
  background: transparent;
}
.main-nav a:hover, .main-nav a.active {
  background: #EAF6FA;
  color: #E48B3C;
}
.header .btn-primary {
  margin-left: 16px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #FAF5EE;
  border-top: 3px solid #F2E6D9;
  padding: 40px 0 15px 0;
  color: #175574;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: #C06000;
  font-size: 0.97rem;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.footer-nav a:hover {
  background: #F2E6D9;
  color: #175574;
}
.footer-contact {
  font-size: 0.97rem;
  color: #355E73;
}
footer p {
  margin-bottom: 0;
  color: #175574;
  font-size: 0.96rem;
}

/* --- TEXT SECTIONS & LISTS --- */
.text-section ul, .text-section ol,
.content-wrapper ul, .content-wrapper ol {
  margin-left: 0;
  margin-bottom: 18px;
  padding-left: 18px;
}
.text-section ul li, .content-wrapper ul li {
  list-style-type: disc;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #355E73;
  letter-spacing: 0.01em;
}
.text-section ol li, .content-wrapper ol li {
  list-style-type: decimal;
}
.text-section strong, .content-wrapper strong {
  font-weight: 700;
  color: #175574;
}

/* --- CONTACT SECTION --- */
.text-section ul li img {
  height: 20px;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}

.text-section a {
  color: #C06000;
  text-decoration: underline;
  transition: color .16s;
}
.text-section a:hover, .text-section a:focus {
  color: #175574;
  outline: none;
}

/* --- DETAILS / FAQ --- */
dt {
  font-weight: 600;
  color: #175574;
  margin-bottom: 3px;
}
dd {
  margin-bottom: 10px;
  color: #355E73;
}

/* --- MOBILE NAVIGATION (BURGER MENU) --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #175574;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 14px;
  z-index: 850;
  transition: color .16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E48B3C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  z-index: 8999;
  transform: translateX(120%);
  transition: transform .34s cubic-bezier(.42,-0.01,.79,.81);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 8px 28px rgba(140,80,10,0.085);
  padding: 38px 26px 24px 26px;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #E48B3C;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  padding: 14px 0;
  color: #175574;
  border-radius: 10px;
  background: none;
  transition: color 0.13s, background 0.13s;
  width: 100%;
}
.mobile-nav a:hover {
  color: #E48B3C;
  background: #F2E6D9;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9980;
  background: #fff7ed;
  border-top: 2.5px solid #E48B3C;
  box-shadow: 0 -4.5px 26px rgba(140,80,10,0.07);
  padding: 28px 18px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  transition: transform .25s;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-text {
  color: #175574;
  flex: 1 1 60%;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn, .cookie-banner .btn-primary {
  min-width: 115px;
  font-size: 1rem;
}
/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10103;
  background: rgba(30, 38, 54, 0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .28s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 6px 32px rgba(23,85,116,0.18);
  padding: 38px 30px 30px 30px;
  width: 94vw;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10107;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #175574;
}
.cookie-modal label {
  font-size: 1rem;
  color: #175574;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #E48B3C;
  width: 17px;
  height: 17px;
  border-radius: 4px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn, .cookie-modal .btn-primary {
  min-width: 105px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 23px;
  background: none;
  border: none;
  color: #E48B3C;
  font-size: 1.42rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover {
  color: #C06000;
}

/************************
  MEDIA QUERIES
************************/
@media (max-width: 1080px) {
  .container { max-width: 99vw; }
}
@media (max-width: 900px) {
  .container {
    padding-right: 9px;
    padding-left: 9px;
  }
  .hero {
    padding: 36px 0 32px 0;
  }
}
@media (max-width: 768px) {
  /* Flex containers column on mobile */
  .section, .card-container, .service-list, .article-teasers, .content-grid, .card {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 22px 5px 13px 5px;
  }
  .main-nav {
    display: none !important;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  /* Burger visible */
  .mobile-menu-toggle {
    display: block;
  }
  /* Hero padding */
  .hero {
    padding: 20px 0 24px 0;
    margin-bottom: 34px;
  }
  /* Footer vertical */
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  .hero, .section { padding: 22px 4px; }
}

/* --- SCROLLBAR -- (soft pastel color styling) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #F2E6D9;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #EBD8FA;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #cdc1ec;
}

/* --- MISC DECOR --- */
hr {
  border: none;
  border-bottom: 1px solid #EAE4E0;
  margin: 32px 0;
}

/* --- SOFT FOCUS & EFFECTS --- */
.card, .hero, .section, .testimonial-card, .service-list > div, .article-teasers > div {
  box-shadow: 0 3px 14px rgba(235,214,180,0.10), 0 5px 42px rgba(71,87,102,0.09);
}

/* --- SOFT PASTEL BACKGROUNDS --- */
body {
  background: #FAFAF8 linear-gradient(136deg, #FFF6E6 0%, #EAF6FA 100%) no-repeat;
}
.hero {
  background: #F6EFE8 linear-gradient(120deg, #f7f5f1 70%, #e1f0fa 130%);
}

/* --- FOCUS STATES / ACC BORDERS --- */
:focus-visible {
  outline: 2.5px solid #E48B3C;
  outline-offset: 1.5px;
}

/* --- ANIMATIONS --- */
.btn, .btn-primary, .card, .service-list > div, .article-teasers > div, .mobile-menu {
  transition: background 0.16s, color 0.17s, box-shadow 0.21s, transform 0.14s;
}
.mobile-menu, .cookie-banner, .cookie-modal-backdrop, .cookie-modal {
  will-change: transform, opacity;
}

/* --- Z-INDEX FOR OVERLAYS & HEADER --- */
header {z-index: 810;}
.mobile-menu {z-index: 8999;}
.cookie-banner {z-index: 9980;}
.cookie-modal-backdrop {z-index: 10103;}
.cookie-modal {z-index: 10107;}

/* --- NO SELECTION ON ICON BUTTONS --- */
.mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  user-select: none;
}

/* --- COLOR UTILITIES FOR SOFT PASTEL --- */
.bg-primary { background: #175574; color: #fff; }
.bg-secondary { background: #F2E6D9; color: #175574; }
.bg-accent { background: #E48B3C; color: #fff; }
.text-accent { color: #E48B3C; }
.text-secondary { color: #355E73; }
.rounded {
  border-radius: 14px;
}

/* --- END --- */
