/* --- CSS RESET & BASE STYLES --- */
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 {
  scroll-behavior: smooth;
  background: #F7F5F1;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #234F5C;
  background: linear-gradient(135deg, #F7F5F1 0%, #e9ede2 100%);
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #234F5C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E6A624;
}
ul, ol {
  padding-left: 1.5em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #234F5C;
  line-height: 1.2;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  color: #487082;
  margin-bottom: 24px;
  font-weight: 400;
}
p, address, li {
  font-size: 1rem;
  color: #234F5C;
}
small {
  font-size: 0.93rem;
  color: #7e939e;
}

/* --- LAYOUT HELPERS for FLEX --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(35,79,92,0.08);
  padding: 28px 24px;
  position: relative;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,79,92,0.13);
}
.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;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35,79,92,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.testimonial-card p {
  color: #234F5C;
  font-size: 1.125rem;
}
.testimonial-card .testimonial-meta {
  font-size: 1rem;
  color: #487082;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(35,79,92,0.20);
  transform: translateY(-3px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #234F5C 0%, #487082 60%, #E6A624 150%);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 16px rgba(35,79,92,0.04);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  flex-wrap: wrap;
  gap: 12px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #fff;
  opacity: 0.92;
  position: relative;
  transition: color 0.16s, opacity 0.12s;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E6A624;
  opacity: 1;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 32px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s, color 0.14s, box-shadow 0.22s;
  margin-left: 12px;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #E6A624 0%, #E0c157 90%);
  color: #234F5C;
  box-shadow: 0 1px 4px rgba(230,166,36,0.14);
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #234F5C;
  color: #fff;
  box-shadow: 0 4px 16px rgba(35,79,92,0.13);
}
.cta-btn.secondary {
  background: #234F5C;
  color: #fff;
  box-shadow: 0 1px 8px rgba(35,79,92,0.12);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #E6A624;
  color: #234F5C;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.18s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E6A624;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #234F5C 70%, #E6A624 220%);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.8,0.2,0.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 38px 28px 28px 28px;
  box-sizing: border-box;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 0 3px 32px rgba(35,79,92,0.18);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 26px;
  right: 26px;
  cursor: pointer;
  z-index: 1210;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 46px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.18rem;
  padding: 12px 0;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6A624;
  color: #234F5C;
  padding-left: 10px;
}

/* --- HERO & SECTION BACKGROUNDS --- */
section:first-of-type, .hero, .main-hero {
  background: linear-gradient(120deg, #FAF8F5 40%, #d3e3e9 100%);
  border-radius: 0 0 40px 40px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.feature-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(35,79,92,0.09);
  max-width: 290px;
  min-width: 210px;
  padding: 28px 20px;
  flex: 1 1 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.23s;
}
.feature-block img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.feature-block h3 {
  color: #234F5C;
  font-size: 1.22rem;
  text-align: center;
}
.feature-block p {
  color: #487082;
  font-size: 1.02rem;
  text-align: center;
}
.feature-block:hover {
  box-shadow: 0 8px 28px rgba(230,166,36,0.12);
  transform: translateY(-4px) scale(1.02);
}

/* --- SERVICE LIST --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 20px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  min-width: 234px;
  max-width: 340px;
  flex: 1 1 210px;
  box-shadow: 0 2px 9px rgba(229,175,25,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.2s;
}
.service-price {
  color: #E6A624;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.service-item:hover {
  box-shadow: 0 6px 24px rgba(35,79,92,0.12);
}

/* --- ARTICLE CARDS & TEASERS --- */
.article-teasers, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.article-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,79,92,0.07);
  padding: 24px 16px 24px 16px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 195px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 20px;
  gap: 13px;
  transition: box-shadow 0.16s, transform 0.12s;
  position: relative;
}
.article-card h3 {
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.article-card p {
  color: #487082;
  font-size: 1rem;
  margin-bottom: 7px;
}
.article-category {
  background: #E6A624;
  color: #fff;
  font-size: 0.98rem;
  border-radius: 10px;
  padding: 2px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  display: inline-block;
}
.article-card a {
  color: #234F5C;
  font-weight: 700;
  margin-top: 8px;
  transition: color 0.16s;
  border-bottom: 1px solid #234F5C33;
  align-self: flex-start;
  padding-bottom: 2px;
}
.article-card a:hover {
  color: #E6A624;
  border-bottom: 1px solid #E6A624;
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(230,166,36,0.13);
  transform: translateY(-3px) scale(1.01);
}

.search-filter {
  margin-top: 18px;
  font-size: 1rem;
  color: #234F5C;
  font-style: italic;
}

/* --- AUDIO OFFERS --- */
.audio-list {
  list-style: disc inside;
  margin-bottom: 20px;
  color: #234F5C;
}
.benefits-title {
  margin-top: 18px;
}

/* --- FOOTER --- */
footer {
  background: #234F5C;
  color: #fff;
  padding-top: 44px;
  padding-bottom: 0;
  margin-top: 30px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 44px;
  width: auto;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  opacity: 0.88;
  transition: color 0.13s, opacity 0.13s;
}
.footer-links nav a:hover, .footer-links nav a:focus {
  color: #E6A624;
  opacity: 1;
}
.footer-contact {
  color: #fff;
}
.footer-contact a {
  color: #E6A624;
  text-decoration: underline;
}
.footer-bottom {
  background: #234F5C;
  border-top: 1px solid #F7F5F122;
  margin-top: 38px;
  text-align: center;
  padding: 18px 0 10px 0;
}
.footer-bottom small {
  color: #E6A624;
  opacity: 0.80;
}

/* --- TEXT SECTIONS --- */
.text-section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(35,79,92,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
}
.text-section ul {
  margin-top: 10px;
  padding-left: 1.3em;
}
.text-section li {
  margin-bottom: 8px;
}

.map-placeholder {
  background: #f1edde;
  color: #234F5C;
  border-radius: 10px;
  padding: 18px 14px;
  margin-top: 18px;
  font-size: 1rem;
  box-shadow: 0 1px 4px #E6A62411;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #234F5C;
  color: #fff;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -2px 16px rgba(35,79,92,0.21);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.32s ease, opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  border-radius: 18px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.22s, color 0.15s;
}
.cookie-btn.accept {
  background: #E6A624;
  color: #234F5C;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #234F5C;
  color: #fff;
}
.cookie-btn.settings {
  background: #487082;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E6A624;
  color: #234F5C;
}
.cookie-btn.reject {
  background: #fff;
  color: #234F5C;
  border: 1px solid #E6A624;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E6A624;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,79,92,0.66);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #234F5C;
  border-radius: 18px;
  max-width: 420px;
  width: 90vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 6px 34px rgba(35,79,92,0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 3110;
  animation: fadein 0.22s;
}
.cookie-modal h2 {
  color: #234F5C;
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.cookie-category input[type='checkbox'] {
  accent-color: #E6A624;
  width: 20px; height: 20px;
  cursor: pointer;
}
.cookie-category label {
  color: #234F5C;
  font-size: 1.08rem;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  background: transparent;
  border: none;
  color: #487082;
  font-size: 1.45rem;
  position: absolute;
  right: 16px; top: 12px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-modal:hover { color: #E6A624; }
@keyframes fadein {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1023px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .main-nav {
    gap: 18px;
  }
  .footer-main {
    gap: 22px;
  }
  .feature-grid { gap: 18px; }
  .service-list { gap: 16px; }
}
@media (max-width: 768px) {
  .main-nav, .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .content-wrapper, .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .feature-grid, .service-list, .article-teasers, .article-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-block, .service-item, .article-card {
    min-width: 0; /* prevents overflow */
    max-width: 100vw;
  }
  .testimonial-cards {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .footer-main {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.11rem; }
  .subheadline { font-size: 1rem; }
  .cta-btn { padding: 11px 19px; font-size: 0.96rem; }
  .cookie-modal { padding: 18px 6px 18px 6px; font-size: 0.98rem; }
}

/* --- UTILITIES --- */
.hidden { display: none !important; }

/* --- JAM: END --- */
