/* --- RESET & NORMALIZATION --- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F2F7F9;
  color: #141B1F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-attachment: fixed;
}
a {
  background-color: transparent;
  color: #22597A;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #EA983C;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* --- BRANDING FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #22597A;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.12rem; }
p, li, span, strong, em, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
strong { color: #22597A; font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* --- CONTAINERS & SECTION LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.text-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(34, 89, 122, 0.07);
  padding: 30px 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px 30px 8px;
    margin-bottom: 32px;
  }
  .text-section {
    padding: 16px 6px;
    border-radius: 18px;
  }
}

/********** FLEX PATTERNS **********/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(234, 152, 60, 0.09),
              0 1.5px 6px 0 rgba(34, 89, 122, 0.07);
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 28px 2px rgba(234, 152, 60, 0.21);
  transform: translateY(-2px) scale(1.025);
}
.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: stretch;
  }
}
.featured-article, .highlight {
  background: #EA983C;
  color: #fff;
  border-radius: 11px;
  padding: 16px 20px;
  font-weight: 500;
  font-size: 1.11rem;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(234,152,60,0.12);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 350px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px 0 rgba(34, 89, 122, 0.08);
  padding: 20px 20px 20px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 4.5px 20px 0 rgba(34, 89, 122, 0.13);
  transform: translateY(-2px) scale(1.025);
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/********** BUTTONS & CTA **********/
.cta, .btn, button, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1.1rem;
  background: #EA983C;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(234, 152, 60, 0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.17s, transform 0.14s;
  letter-spacing: 0.2px;
}
.cta.primary {
  background: #22597A;
  color: #fff;
}
.cta.secondary, .btn.secondary {
  background: #EA983C;
  color: #fff;
}
.cta:focus, .cta:hover, .btn:focus, .btn:hover, button:hover, input[type=submit]:hover {
  background: #fff;
  color: #EA983C;
  border: 2px solid #EA983C;
  box-shadow: 0 5px 24px 0 rgba(34, 89, 122, 0.15);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cta.primary:hover, .cta.primary:focus {
  color: #22597A;
  border-color: #22597A;
  background: #fff;
}

button {
  font-family: inherit;
}

/********** HEADER NAVIGATION **********/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(34, 89, 122, 0.09);
  padding: 0;
  z-index: 1002;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}
header nav > a img {
  width: 120px;
  height: auto;
  margin-right: 26px;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22597A;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover, header nav ul li a.active {
  background: #EA983C;
  color: #fff;
}
header nav .cta {
  margin-left: 30px;
}
@media (max-width: 1024px) {
  header nav ul { gap: 14px; }
  header nav > a img { margin-right: 10px; }
}
@media (max-width: 900px) {
  header nav ul { gap: 7px; }
  header nav .cta { margin-left: 8px; padding: 10px 16px; }
  header nav > a img { width: 85px; }
}
@media (max-width: 768px) {
  header nav ul, header nav .cta {
    display: none;
  }
  header nav {
    gap: 0;
  }
}

/********** MOBILE MENU **********/
.mobile-menu-toggle {
  display: none;
  background: #EA983C;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 14px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1201;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #22597A;
  color: #fff;
  outline: 2px solid #EA983C;
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; position: absolute; top: 12px; right: 16px; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1300;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22597A;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.62,1,.55,1.1);
  opacity: 0.97;
  padding: 0 0 0 0;
  box-shadow: 0 0 320px 0 rgba(34,89,122,0.29);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 20px 28px 8px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EA983C;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 18px 36px 32px 36px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  background: none;
  padding: 9px 0 9px 0;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #EA983C;
  color: #22597A;
  outline: none;
}

/********** MAIN HERO / HEADERS **********/
main > section:first-child {
  background: #22597A;
  color: #fff;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 8px 28px 0 rgba(34,89,122,0.13);
  min-height: 315px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
main > section:first-child h1,
main > section:first-child h2 {
  color: #fff;
  font-weight: 900;
}
main > section:first-child a.cta {
  background: #EA983C;
  color: #fff;
  margin-top: 18px;
}
main > section:first-child a.cta:hover {
  background: #fff;
  color: #EA983C;
  border: 2px solid #EA983C;
}
@media (max-width: 768px) {
  main > section:first-child {
    border-radius: 0 0 18px 18px;
    min-height: initial;
    padding-bottom: 24px;
  }
}

/********** CARD/TOPIC LISTS **********/
.post-summary {
  background: #fff;
  padding: 22px 18px;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 rgba(34,89,122,0.07);
  margin-bottom: 20px;
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.topic-tags li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #22597A;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  font-weight: bold;
  transition: background 0.18s;
}
.topic-tags li:hover {
  background: #EA983C;
  color: #fff;
}

/********** TESTIMONIALS **********/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(34, 89, 122, 0.10), 0 1px 4px 0 rgba(234,152,60,0.07);
  margin-bottom: 20px;
  margin-top: 4px;
  min-width: 220px;
  max-width: 630px;
  color: #141B1F;
}
.testimonial-card blockquote {
  margin: 0 0 6px 0;
  font-size: 1.17rem;
  font-style: italic;
  color: #22597A;
}
.testimonial-card p { color: #22597A; margin-bottom: 0; font-weight: 600;}
.testimonial-card span {
  color: #EA983C;
  font-size: 1.34rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1;
}
@media (max-width: 768px) {
  .testimonial-card {
    margin-bottom: 14px;
    padding: 13px 9px;
    min-width: unset;
    max-width: unset;
    border-radius: 10px;
  }
}

/********** FOOTER **********/
footer {
  width: 100%;
  background: #22597A;
  color: #fff;
  padding: 34px 0 18px 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer img {
  width: 70px;
  height: auto;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #fff;
  opacity: 0.90;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 9px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #EA983C;
  color: #22597A;
  opacity: 1;
  outline: none;
}
footer .mini-address {
  color: #fff;
  opacity: 0.81;
  font-size: 0.96rem;
}
footer .brand-tagline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  margin-top: 16px;
  color: #EA983C;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  footer { padding: 30px 0 14px 0; margin-top: 34px; }
  footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    align-items: flex-start;
  }
}

/********** UTILITIES **********/
.highlight {
  background: #EA983C;
  color: #fff;
  border-radius: 11px;
  padding: 13px 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  box-shadow: 0 2px 8px rgba(234,152,60,0.11);
  margin-top: 14px;
}

/********** COOKIE CONSENT BANNER **********/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 -4px 22px 0 rgba(34,89,122,0.16);
  padding: 18px 18px 14px 18px;
  gap: 15px;
  z-index: 1800;
  transition: transform 0.42s cubic-bezier(.56,.11,.33,1.09), opacity 0.18s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110px);
}
.cookie-banner p {
  color: #22597A;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 8px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner .cookie-btn {
  border-radius: 999px;
  border: none;
  padding: 9px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 0 0;
  box-shadow: 0 1.5px 8px rgba(34, 89, 122, 0.06);
  cursor: pointer;
  transition: background 0.15s, color 0.13s, border 0.13s;
}
.cookie-banner .accept {
  background: #EA983C;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #22597A;
  color: #fff;
}
.cookie-banner .reject {
  background: #22597A;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #EA983C;
  color: #fff;
}
.cookie-banner .settings {
  background: #F2F7F9;
  color: #22597A;
  border: 2px solid #22597A;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #EA983C;
  border-color: #22597A;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1900;
  left:0; top:0; right:0; bottom:0;
  background: rgba(34, 89, 122, 0.54);
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 40px 30px 28px 30px;
  box-shadow: 0 7px 42px rgba(34, 89, 122, 0.18);
  max-width: 410px;
  min-width: 275px;
  margin: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #22597A;
}
.cookie-modal h2 {
  color: #EA983C;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: #22597A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #EA983C;
  width: 19px;
  height: 19px;
}
.cookie-modal .category-essential input[type="checkbox"] {
  accent-color: #22597A;
}
.cookie-modal .modal-btn-row {
  margin-top: 21px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-btn {
  border-radius: 999px;
  padding: 8px 28px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: #22597A;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(34, 89, 122, 0.06);
  transition: background 0.14s, color 0.12s;
}
.cookie-modal .modal-btn:hover,.cookie-modal .modal-btn:focus {
  background: #EA983C;
  color: #fff;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #22597A;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #EA983C;
}

/********** LINKS, LISTS, BLOCKQUOTES **********/
ul li {
  margin-bottom: 6px;
}
li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
  display: inline-block;
  position: relative;
  top: 2px;
}
blockquote {
  border-left: 4px solid #EA983C;
  padding-left: 14px;
  color: #22597A;
  font-style: italic;
  margin-bottom: 10px;
}

/********** FORMS (future extensibility) **********/
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 11px 17px;
  border-radius: 7px;
  border: 1.2px solid #bcd1e1;
  background: #F2F7F9;
  transition: border 0.16s, box-shadow 0.16s;
  color: #22597A;
  width: 100%;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: #EA983C;
  outline: 0;
  box-shadow: 0 1.5px 8px rgba(234, 152, 60, 0.23);
}

/********** RESPONSIVE: MOBILE FIRST **********/
@media (max-width: 1080px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 650px) {
  .brand-tagline {
    font-size: 1rem;
  }
  h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.09rem;
    margin-bottom: 10px;
  }
}

/* Responsive spacing for lists and cards */
@media (max-width: 768px) {
  .feature-item, .post-summary, .testimonial-card, .card {
    padding: 10px 7px;
    font-size: 1rem;
    border-radius: 9px;
    min-width: unset;
    max-width: unset;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/********** ANIMATION & MICRO-INTERACTIONS **********/
.cta, .btn, .feature-item, .card, .testimonial-card, .topic-tags li, .mobile-menu-toggle, .cookie-banner, .cookie-btn, .cookie-modal .modal-btn {
  will-change: transform, box-shadow;
}
.cta:active,.btn:active, .topic-tags li:active, .cookie-btn:active {
  transform: scale(0.97);
}

/******* VISUAL HIERARCHY & COLOR POPS ******/
.feature-item img, .feature-grid img, .feature-item svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 7px rgba(234, 152, 60, 0.13));
  background: #EA983C;
  border-radius: 10px;
  padding: 5px;
}

/* Electric ACCENT lines */
h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: #EA983C;
  border-radius: 6px;
  margin-top: 4px;
}

/********** MINIMAL Z-INDEX HANDLING **********/
header { z-index: 1001; }
.mobile-menu { z-index: 1300; }
.cookie-banner { z-index: 1800; }
.cookie-modal-overlay { z-index: 1900; }

/********** SCROLLBAR **********/
::-webkit-scrollbar {
  width: 8px;
  background: #F2F7F9;
}
::-webkit-scrollbar-thumb {
  background: #EA983C;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #22597A;
}

/********** PRINT **********/
@media print {
  header, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay { display: none!important; }
  body { background: #fff !important; color: #111 !important; }
}
