/* --- 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.5;
  color-scheme: light;
}
body {
  min-height: 100vh;
  background: #FAF8F6;
  color: #243A5E;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.4s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #243A5E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #C1782B;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, "Times New Roman", serif;
  color: #243A5E;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.subheadline {
  font-size: 1.25rem;
  color: #546D90;
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
p, li, blockquote, cite {
  font-size: 1rem;
  margin-bottom: 8px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
blockquote {
  font-style: italic;
  color: #243A5E;
  background: #F4E2D8;
  border-left: 4px solid #C1782B;
  padding: 12px 20px;
  margin-bottom: 12px;
  border-radius: 8px 0 0 8px;
}
cite {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  color: #7A5D44;
  font-style: normal;
}

/* --- Containers and Spacing --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  box-shadow: 0 2px 12px 0 rgba(36,58,94,0.03);
  border-radius: 14px;
}
.hero {
  background: #F7F7F5;
  padding: 48px 0 50px 0;
  margin-bottom: 40px;
}

/* --- Header --- */
header {
  background: #FFF;
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 2px 8px rgba(36,58,94,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  color: #243A5E;
}
header nav a:hover, header nav a:focus {
  background: #F4E2D8;
  color: #C1782B;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  padding: 12px 28px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(36, 58, 94, 0.07);
  text-align: center;
  text-decoration: none;
}
.cta-btn.primary {
  background: #243A5E;
  color: #FFF;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #C1782B;
  color: #FFF;
}
.cta-btn.secondary {
  background: #F4E2D8;
  color: #243A5E;
  border: 1px solid #C1782B;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #C1782B;
  color: #FFF;
}

.mobile-menu-toggle {
  font-size: 2rem;
  color: #243A5E;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  line-height: 1;
  z-index: 201;
}

/* --- Mobile Menu Styles --- */
.mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36, 58, 94, 0.92);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1), opacity 0.4s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #FFF;
  border: none;
  background: none;
  align-self: flex-end;
  margin: 22px 26px 0 0;
  z-index: 202;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 30px 40px 0 40px;
  gap: 22px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C1782B;
  color: #FFF;
}

/* --- Hide navigation on mobile, show burger --- */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Section/List Elements --- */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 30px;
  justify-content: space-between;
}
.features-list li {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,58,94,0.05);
  padding: 32px 22px 26px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 326px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1px solid #F4E2D8;
  margin-bottom: 20px;
}
.features-list li:hover {
  box-shadow: 0 6px 28px rgba(36,58,94,0.13);
  transform: translateY(-3px) scale(1.02);
}
.features-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
}

.usp-list {
  background: #F7F2EC;
  border-left: 4px solid #C1782B;
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
  margin-bottom: 24px;
  margin-top: 8px;
}
.usp-list strong {
  display: block;
  font-size: 1.13rem;
  color: #C1782B;
  font-weight: 700;
  margin-bottom: 10px;
}
.usp-list ul {
  margin-bottom: 8px;
}
.usp-list li {
  font-size: 1rem;
  color: #243A5E;
  margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}
.usp-list li::before {
  content: '•';
  color: #C1782B;
  position: absolute;
  left: 0;
}
.usp-list em {
  color: #7A5D44;
  font-style: italic;
}

/* --- Testimonial Card --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4E2D8;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(36,58,94,0.06);
  margin-bottom: 20px;
  border: 1px solid #E3D2BF;
  flex-wrap: wrap;
  color: #243A5E;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  padding: 0;
  color: #243A5E;
  font-size: 1.07rem;
}
.testimonial-card cite {
  color: #C1782B;
  font-size: 1rem;
  font-style: normal;
}

/* --- Text/Image Section --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- Cards/Grid --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #FFF;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 14px rgba(36,58,94,0.09);
  border: 1px solid #F4E2D8;
  padding: 32px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 9px 38px rgba(36,58,94,0.13);
  transform: translateY(-3px) scale(1.017);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Footer --- */
footer {
  background: #F7F7F5;
  border-top: 1px solid #ECECEC;
  padding: 36px 0 18px 0;
  font-size: 0.95rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
footer nav a {
  color: #243A5E;
  font-size: 0.98rem;
  transition: color 0.18s, background 0.18s;
  border-radius: 5px;
  padding: 0 7px;
}
footer nav a:hover, footer nav a:focus {
  color: #C1782B;
}
footer .contact-details {
  color: #243A5E;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
}
footer .contact-details img {
  width: 16px; height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
footer small {
  color: #6C7A92;
  display: block;
  margin-top: 14px;
}

/* --- Forms (if present) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  padding: 12px;
  background: #FFF;
  margin-bottom: 14px;
  transition: border 0.16s, box-shadow 0.16s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: #C1782B;
  box-shadow: 0 0 0 3px #f4e2d888;
  outline: none;
}

/* --- Utility Classes --- */
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 300;
  background: #FFF;
  box-shadow: 0 -2px 12px rgba(36,58,94,0.07);
  border-top: 3px solid #C1782B;
  padding: 20px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: cookie-slideup 0.6s cubic-bezier(.77,0,.175,1);
  font-size: 1rem;
}
@keyframes cookie-slideup {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 20px;
  background: #F4E2D8;
  color: #243A5E;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.accept {
  background: #243A5E;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C1782B;
  color: #fff;
}
.cookie-btn.reject {
  background: #E3D2BF;
  color: #243A5E;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #C1782B;
  color: #fff;
}
.cookie-btn.settings {
  border: 1px solid #C1782B;
  background: #fff;
  color: #C1782B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #C1782B;
  color: #fff;
}

/* --- Cookie Modal --- */
.cookie-modal {
  position: fixed;
  z-index: 400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,58,94,0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 90vw;
  width: 380px;
  padding: 28px 28px 22px 28px;
  box-shadow: 0 8px 40px rgba(36,58,94,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-popIn 0.35s cubic-bezier(.77,0,.175,1);
}
@keyframes modal-popIn {
  from { transform: scale(0.88) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #E3D2BF;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.16s;
  border: none;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle .dot {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #F4E2D8;
  border-radius: 50%;
  transition: left 0.22s, background 0.22s;
}
.cookie-toggle input[type="checkbox"]:checked + .dot {
  left: 18px;
  background: #C1782B;
}
.cookie-modal-buttons {
  display: flex;
  gap: 15px;
}
.cookie-modal button {
  font-size: 1rem;
}
.cookie-modal-close {
  background: none;
  color: #C1782B;
  border: none;
  font-size: 1.75rem;
  align-self: flex-end;
  margin-bottom: 6px;
}

/* --- Contact Information List --- */
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-information li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  color: #243A5E;
}
.contact-information img {
  width: 22px;
  height: 22px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .header .container {
    gap: 12px;
  }
  .hero {
    padding: 40px 0 36px 0;
  }
  .section {
    padding: 26px 10px;
    margin-bottom: 38px;
  }
  .features-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 18px 12px;
    font-size: 0.97rem;
  }
  .content-wrapper {
    gap: 13px;
  }
  .footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .usp-list {
    padding: 14px 8px 14px 12px;
    border-radius: 0 8px 8px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta-btn, .cookie-btn { font-size: 0.98rem; padding: 8px 18px; }
  .features-list li, .card {
    padding: 18px 10px 14px 10px;
  }
  .cookie-modal-content {
    padding: 16px 8px 16px 8px;
    width: 98vw;
  }
  .mobile-nav {
    margin: 24px 10px 0 10px;
    gap: 14px;
  }
}

/* Micro-interactions */
.cta-btn,
.cookie-btn {
  will-change: background, color, box-shadow, transform;
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.97);
}
.features-list li:active {
  transform: scale(0.98);
}

/* --- Accessibility & Focus States --- */
:focus-visible {
  outline: 2px solid #C1782B;
  outline-offset: 2px;
}

/* Hide cookie modal/backdrop if not open */
.cookie-modal:not(.open) {
  display: none;
}

/* Hide cookie consent when confirmed (to be toggled via JS) */
.cookie-consent-banner.confirmed {
  display: none;
}

/* Body scroll lock helper (used when mobile menu or cookie modal open) */
body.menu-open,
body.cookie-modal-open {
  overflow: hidden;
}
