/* 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,
main, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F4EC;
  color: #24262a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #184872;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 0.8em; }
h2 { font-size: 2rem; margin-bottom: 0.6em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5em; }
h4 { font-size: 1.25rem; margin-bottom: 0.5em; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p, li, ul {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2c2d30;
  margin-bottom: 1em;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.6em;
}
strong { font-weight: 600; color: #184872; }
a {
  color: #184872;
  text-decoration: underline;
  transition: color .18s;
}
a:hover, a:focus {
  color: #E2864E;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(234, 184, 108, .08), 0 2px 4px rgba(24, 72, 114, 0.05);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(234, 184, 108, .10);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(234, 184, 108, .22);
  transform: translateY(-6px) scale(1.015);
}

.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;
  background: #FFF8F3;
  border-radius: 22px;
  box-shadow: 0 1px 8px rgba(234, 184, 108, .12);
  padding: 20px;
  color: #2c2d30;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: #184872;
}
.testimonial-author {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #B97436;
  margin-left: auto;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F4EC;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 1px 5px rgba(188, 133, 50, .09);
  margin-bottom: 10px;
}

/* BUTTONS & CALL-TO-ACTION */
.cta, .btn, .cookie-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #E2864E;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 10px rgba(234, 184, 108, .14);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .03em;
  margin-top: 8px;
  transition: background .18s, box-shadow .18s, color .18s, transform .18s;
}
.cta:hover, .btn:hover, .cookie-btn:hover,
.cta:focus, .btn:focus, .cookie-btn:focus {
  background: #184872;
  color: #fff;
  box-shadow: 0 6px 22px rgba(234, 184, 108, 0.28);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* NAVIGATION BAR & HEADER */
header {
  background: #F6F4EC;
  box-shadow: 0 1px 8px rgba(188, 133, 50, .08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #184872;
  background: none;
  font-size: 1rem;
  border-radius: 16px;
  padding: 9px 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
header nav a.cta {
  margin-left: 14px;
  background: #E2864E;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 24px;
  padding: 9px 28px;
  box-shadow: 0 1px 5px rgba(234, 184, 108, 0.16);
}
header nav a:hover, header nav a:focus {
  background: #f7e0cc;
  color: #E2864E;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #184872;
  color: #fff;
}

header img {
  height: 44px;
  border-radius: 14px;
  transition: box-shadow .12s;
}
header img:hover {
  box-shadow: 0 1px 8px rgba(234, 184, 108, .09);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #184872;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F3E3CF;
  color: #E2864E;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px 8px rgba(188, 133, 50, .13);
  transform: translateX(-100%);
  transition: transform .33s cubic-bezier(.7,0,.2,1);
  padding: 26px 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #184872;
  border: none;
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 18px;
  cursor: pointer;
  transition: background .13s;
  z-index: 1200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7E0CC;
  color: #E2864E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 48px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 16px 32px;
  color: #184872;
  background: none;
  text-decoration: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #faeedf;
  color: #E2864E;
}

/* Main content */
main {
  padding-top: 32px;
  padding-bottom: 32px;
}
.subheadline {
  color: #2c2d30;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.contact-details img {
  height: 22px;
}

.map {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #E6F1FC;
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  font-size: 1rem;
  color: #184872;
}

/* Footer Styles */
footer {
  background: #184872;
  padding: 44px 0 32px 0;
  color: #fff;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-decoration: underline;
  transition: color .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #E2864E;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.brand-info img {
  height: 40px;
  border-radius: 10px;
}
.newsletter-signup h3 {
  color: #EFC28B;
  font-size: 1.15rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.newsletter-signup p {
  color: #fff;
  font-size: 1rem;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  transition: background .15s, box-shadow .15s;
}
.social-links a img:hover, .social-links a img:focus {
  background: #E2864E;
  box-shadow: 0 0 8px #fff2da;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #184872;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 36px 14px 36px;
  z-index: 5000;
  box-shadow: 0 -2px 16px rgba(24, 72, 114, .14);
  border-radius: 22px 22px 0 0;
  animation: cookie-slide-in .5s cubic-bezier(.7,0,.2,1);
  font-size: 1.08rem;
}
@keyframes cookie-slide-in {
  0% { transform: translateY(100%); opacity: 0;}
  100% { transform: translateY(0); opacity: 1;}
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-btn {
  margin-left: 12px;
  margin-top: 0;
}
.cookie-banner .cookie-btn.settings {
  background: #E6F1FC;
  color: #184872;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #E2864E;
  border: 2px solid #E2864E;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #E2864E;
  color: #fff;
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 7000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24, 72, 114,.46);
  justify-content: center;
  align-items: center;
  animation: fadein .3s cubic-bezier(.7,0,.2,1);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadein {
  0%{ opacity:0; } 100%{ opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #232323;
  padding: 32px 26px 22px 26px;
  border-radius: 24px;
  box-shadow: 0 6px 40px rgba(234, 184, 108, 0.22);
  max-width: 420px;
  width: 95%;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-in .32s cubic-bezier(.6,.05,.2,1);
}
@keyframes cookie-modal-in {
  0% {transform: translateY(32px) scale(.96); opacity:0;}
  100% {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.13rem;
  color: #184872;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-category .cookie-switch {
  width: 38px; height: 20px;
  background: #f2f2f2;
  border-radius: 14px;
  position: relative;
}
.cookie-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  cursor: pointer;
  margin: 0;
}
.cookie-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  height: 16px; width: 16px;
  border-radius: 50%;
  background: #E2864E;
  transition: left .18s cubic-bezier(.4,0,.3,1);
}
.cookie-switch input:checked + .slider {
  left: 20px;
  background: #184872;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-left: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  background: #E6F1FC;
  border: none;
  color: #184872;
  font-size: 1.5rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background .13s, color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E2864E;
  color: #fff;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
}
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container, .section { padding: 20px 10px; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 10px; }
  footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 768px) {
  main, .section { padding-top: 18px; padding-bottom: 18px; }
  .section { margin-bottom: 30px; padding: 26px 7px; border-radius: 12px; }
  .content-grid, .card-container { gap: 12px; }
  header nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  
  .content-grid, .card-container, .footer .container, .brand-info, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card { flex-direction: column; gap: 6px; padding: 15px; }
  .footer .container { gap: 12px; }
}
@media (max-width: 700px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .container { padding-left: 6px; padding-right: 6px; }
  .cookie-banner { flex-direction: column; gap: 8px; padding: 11px 6px 9px 8px; font-size: .98rem; border-radius: 16px 16px 0 0;}
}
@media (max-width: 540px) {
  .section { margin-bottom: 18px; padding: 14px 3px; border-radius: 9px; }
  .testimonial-card, .card { padding: 10px 5px; border-radius: 11px; }
  .cookie-modal { padding: 14px 5px 12px 5px; border-radius: 14px; }
  .mobile-menu { padding-top: 12px; }
}

/* --- ANIMATIONS: MICRO-INTERACTIONS --- */
.cta, .btn, .cookie-btn {
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
}
.card, .testimonial-card {
  transition: box-shadow .19s, transform .19s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(224,163,89,0.17);
  transform: translateY(-2px) scale(.98);
}

/* Hide scroll on mobile-menu when closed */
body.mobile-menu-open {
  overflow: hidden;
}

/* Accessibility helpers */
:focus-visible {
  outline: 2px solid #E2864E;
  outline-offset: 2px;
}

/* Special spacing for all lists on pages */
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.1em;
}

/* Brand color helpers */
.bg-primary { background: #184872; color: #fff; }
.bg-accent { background: #E2864E; color: #fff; }
.bg-warm { background: #F6F4EC; color: #184872; }

/* Overwrite card backgrounds where applied on testimonials for color contrast */
.testimonial-card {
  background: #FFF8F3;
  color: #184872;
  border: 1.5px solid #f7e0cc;
}

/* Input fields (for newsletter forms, if added later) */
input[type="text"], input[type="email"], textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 12px;
  border: 1.5px solid #E6F1FC;
  padding: 12px 16px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 18px;
  background: #fff;
  transition: border .15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #E2864E;
}

/* Custom scrollbars for primary color touch (modern browsers) */
::-webkit-scrollbar {
  width: 12px;
  background: #F6F4EC;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #EFC28B;
  border-radius: 21px;
  box-shadow: 0 2px 8px rgba(234, 184, 108, .17);
}

/* Checkbox/radio (for cookie modal) */
input[type="checkbox"], input[type="radio"] {
  accent-color: #E2864E;
}
