/* --- 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #f6f8fa;
}
body {
  background: #fff;
  color: #23405D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
a {
  color: #23405D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8CAF92;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* --- TYPOGRAPHY --- */
h1, .hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #23405D;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Merriweather', serif;
  color: #23405D;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
}
h3 {
  font-family: 'Merriweather', serif;
  color: #23405D;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23405D;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35, 64, 93, 0.04);
  padding: 40px 24px;
  margin-bottom: 40px;
}
.hero {
  background: #F2EDE4;
  box-shadow: 0 2px 16px rgba(35,64,93,0.04);
  border-radius: 16px;
  text-align: center;
  padding: 48px 24px 46px 24px;
  margin-bottom: 32px;
}
main {
  min-height: 60vh;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,64,93,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 300px;
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F2EDE4;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,64,93,0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(35,64,93,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #E6EBF0;
  width: 100%;
  position: sticky;
  top: 0; z-index: 20;
}
header .container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
header img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-size: 1rem;
  color: #23405D;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s;
}
header nav a:hover, header nav a.active {
  color: #8CAF92;
  border-bottom: 2px solid #8CAF92;
}
.cta-btn {
  background: #23405D;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(35,64,93,0.08);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, transform 0.08s;
  display: inline-block;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8CAF92;
  color: #23405D;
  box-shadow: 0 6px 32px rgba(35, 64, 93, 0.15);
  transform: translateY(-2px);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  background: #F2EDE4;
  color: #23405D;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(35,64,93,0.12);
  z-index: 1001;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #8CAF92;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,64,93,0.98);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  will-change: transform;
  padding-top: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 6px 0 38px 8px rgba(35,64,93,0.24);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  margin: 22px 24px 8px 12px;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8CAF92;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 24px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  padding: 12px 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8CAF92;
}

@media (max-width: 1000px) {
  header .container {
    gap: 20px;
  }
  header nav {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 13px;
  }
  .content-wrapper, .hero {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    height: 58px;
  }
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero, .content-wrapper {
    padding: 23px 7px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 5px;
  }
}

/* --- FEATURE/GRID/BLOCK SECTIONS --- */
.feature-grid, .service-list, .article-list, .contact-info, .value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 14px;
}
.feature, .service, .value-list li, .contact-info div {
  flex: 1 1 250px;
  min-width: 210px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,64,93,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 17px;
}
.feature img, .service img, .value-list img, .contact-info img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

.article-list {
  flex-direction: row;
  gap: 24px;
}
.article-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,64,93,0.07);
  padding: 20px 18px 20px 18px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.18s;
}
.article-list article:hover {
  box-shadow: 0 4px 24px rgba(35,64,93,0.13);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 0;
}
.contact-info div {
  flex: 1 1 220px;
  min-width: 190px;
  background: #F2EDE4;
  color: #23405D;
  border-radius: 10px;
  font-size: 1rem;
  padding: 20px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px rgba(35,64,93,0.06);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.value-list li {
  background: #F2EDE4;
  color: #23405D;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 0;
}

/* --- LINKS & BUTTONS --- */
button, .cta-btn, .cookie-btn, .cookie-link {
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform 0.1s;
  cursor: pointer;
}
.cookie-btn, .cookie-link {
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  margin: 7px 8px 7px 0;
  border: none;
  background: #23405D;
  color: #fff;
  box-shadow: 0 1px 8px rgba(35,64,93,0.08);
  display: inline-block;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8CAF92;
  color: #23405D;
}
.cookie-link {
  background: #8CAF92;
  color: #23405D;
}
.cookie-link:hover, .cookie-link:focus {
  background: #23405D;
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: #23405D;
  color: #fff;
  padding: 30px 0 12px 0;
  border-top: 8px solid #8CAF92;
  margin-top: 36px;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  justify-content: space-between;
  padding: 0 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.90;
  transition: color 0.19s;
  padding: 3px 0;
}
footer nav a:focus, footer nav a:hover {
  color: #8CAF92;
}
.footer-contact {
  color: #edf4fa;
  font-size: 0.98rem;
  opacity: 0.89;
}
footer img {
  height: 42px;
  width: auto;
  margin-bottom: 10px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23405D;
  color: #fff;
  z-index: 2999;
  box-shadow: 0 -3px 18px rgba(35,64,93,0.27);
  padding: 24px 20px 19px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 38px;
  font-size: 1rem;
  line-height: 1.6;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.2s;
}
.cookie-banner.closed {
  pointer-events: none;
  opacity: 0;
  transform: translateY(120%);
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-link {
  margin-top: 8px;
  margin-bottom: 8px;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35,64,93,0.46);
  z-index: 3200;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  color: #23405D;
  box-shadow: 0 8px 54px rgba(35,64,93,0.29);
  border-radius: 15px;
  max-width: 420px;
  min-width: 268px;
  padding: 34px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 3210;
  animation: slideModalIn 0.32s cubic-bezier(.62,1.6,.36,1.07);
}
@keyframes slideModalIn {
  0% { transform: translateY(68px) scale(0.94); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #23405D;
  margin-bottom: 15px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: space-between;
  gap: 14px;
}
.cookie-toggle {
  accent-color: #8CAF92;
  width: 24px; height: 24px;
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 13px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #23405D;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #8CAF92;
}

/* --- VISUAL ELEMENTS: SHADOWS, CARDS, ROUNDED CORNERS --- */
.card, .feature, .service, .value-list li, .article-list article {
  box-shadow: 0 2px 10px rgba(35,64,93,0.06);
  border-radius: 12px;
  transition: box-shadow 0.17s;
}
.card:hover, .feature:hover, .service:hover, .value-list li:hover, .article-list article:hover {
  box-shadow: 0 6px 26px rgba(35,64,93,0.13);
}

/* --- VISUAL HIERARCHY & SPACING --- */
section { margin-bottom: 60px; }
.container, .content-wrapper, .feature-grid, .testimonial-card, .service-list, .article-list, .contact-info {
  margin-bottom: 0;
}
.content-wrapper:not(:last-child), .hero:not(:last-child) {
  margin-bottom: 40px;
}
.feature, .service, .article-list article {
  margin-bottom: 20px;
  min-width: 220px;
}

/* --- RESPONSIVE: FLEXBOX --- */
@media (max-width: 900px) {
  .feature-grid, .service-list, .article-list, .contact-info, .value-list {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-list, .article-list, .contact-info, .value-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature, .service, .article-list article, .card, .value-list li, .contact-info div {
    min-width: 100%;
    padding-left: 12px; padding-right: 12px;
  }
  .hero, .content-wrapper {
    text-align: left;
  }
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 19px 7px 13px 7px;
    max-width: 97vw;
  }
  .footer-contact, footer nav {
    font-size: 0.94rem;
  }
  .footer-contact p {
    word-break: break-all;
  }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.15s, box-shadow 0.16s, color 0.16s, transform 0.09s;
}
.feature, .service, .article-list article, .card {
  transition: box-shadow 0.19s, transform 0.1s;
}
.feature:hover, .service:hover, .article-list article:hover, .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(35,64,93,0.13);
}

/* --- SCROLLBAR STYLE --- */
::-webkit-scrollbar {
  width: 8px;
  background: #E6EBF0;
}
::-webkit-scrollbar-thumb {
  background: #8CAF92;
  border-radius: 6px;
}

/* --- ACCESSIBILITY & FOCUS STYLES --- */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .cookie-link:focus {
  outline: 2px solid #8CAF92;
  outline-offset: 2px;
}

/* --- CUSTOM CLASSES FOR STRUCTURE SPACING --- */
.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;
}

/* --- MISC: ALL CARDS/SUB-SECTIONS--- */
.card, .feature, .service, .article-list article, .value-list li,
.contact-info div, .testimonial-card {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
}

/* --- UTILITY CLASSES --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* --- END --- */
