/* =======================================================================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #ffffff;
  color: #1b2536;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #274472;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #CA9042;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
button, .cta {
  cursor: pointer;
}

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

:root {
  --color-primary: #274472;
  --color-secondary: #ffffff;
  --color-secondary-page: #F7F5E6;
  --color-accent: #CA9042;
  --color-accent-b: #a0641b;
  --color-dark: #1b2536;
  --color-grey: #e6e7ed;
  --transition: 0.25s cubic-bezier(.65,.05,.36,1);
}

/* =======================================================================
   TYPOGRAPHY
======================================================================= */
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2.75rem;
  color: #274472;
  margin-bottom: 24px;
  line-height: 1.13;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 18px;
  color: #CA9042;
  letter-spacing: -0.5px;
}
@media (max-width: 768px) {
  h2, .h2 { font-size: 1.45rem; }
}
h3, .h3 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #274472;
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #CA9042;
}
p, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1b2536;
  font-weight: 400;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: #274472;
}
.subheadline {
  font-size: 1.18rem;
  color: #1b2536;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.small {
  font-size: 0.92rem;
  color: #555;
}

/* =======================================================================
   CONTAINER & LAYOUT
======================================================================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
@media (min-width: 900px) {
  .content-wrapper.hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }
  .content-wrapper {
    align-items: stretch;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 16px;
}
.features-grid > div {
  background: var(--color-secondary-page);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 #27447217;
  padding: 32px 22px 24px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 28px 0 #27447236;
}
.features-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.features-grid.team > div {
  background: #fff9ef;
  border: 2px solid #CA9042;
  min-width: 220px;
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #2744720e;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  padding: 32px;
}
.section .card {
  margin-bottom: 0;
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper.hero {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}
.review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.review-list article {
  background: #F7F5E6;
  border-radius: 12px;
  box-shadow: 0 2px 10px #CA904217;
  padding: 22px 18px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 6px solid #CA9042;
  position: relative;
}
@media (max-width: 900px) {
  .review-list {
    flex-direction: column;
    gap: 18px;
  }
}
.filter-options {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.filter-options strong {
  font-weight: 700;
  color: #CA9042;
}
.filter-options button {
  background: #fff;
  border-radius: 8px;
  padding: 7px 18px;
  font-weight: 700;
  color: #274472;
  border: 2px solid #CA9042;
  margin-right: 8px;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.filter-options button:hover,
.filter-options button:focus {
  background: #CA9042;
  color: #fff;
  border-color: #274472;
}
.categories {
  margin-top: 34px;
  margin-bottom: 16px;
}
.categories strong {
  color: #274472;
}
.categories ul {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.categories li {
  background: #274472;
  color: #fff;
  border-radius: 7px;
  padding: 6px 16px;
  font-weight: bold;
  font-size: 0.98rem;
  letter-spacing: 0.15px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .categories ul {
    flex-direction: column;
    gap: 8px;
  }
}
.services {
  background: #F7F5E6;
  border-radius: 18px;
  box-shadow: 0 4px 22px #27447217;
  padding: 32px 22px 28px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.services .cta {
  margin-top: 10px;
}
.services ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* =======================================================================
   HEADER & MAIN NAVIGATION
======================================================================= */
header {
  background-color: #F7F5E6;
  border-bottom: 3px solid #CA9042;
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 0;
}
.logo-link img {
  height: 42px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}
nav ul li a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: #274472;
  padding: 9px 12px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
nav ul li a.active,
nav ul li a:hover,
nav ul li a:focus {
  background: #CA9042;
  color: #fff;
}
@media (max-width: 1020px) {
  nav ul {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  nav ul {
    display: none;
  }
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 101;
  background: #274472;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 7px #27447220;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #CA9042;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #274472;
  z-index: 150;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
  overflow-y: auto;
  box-shadow: 5px 0 40px #1b253696;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.25rem;
  margin: 28px 28px 10px 0;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #CA9042;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 28px;
}
.mobile-nav a {
  color: #fff;
  font-weight: 900;
  font-size: 1.38rem;
  letter-spacing: 0.08em;
  padding: 12px 0 12px 6px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  width: 100%;
  line-height: 1.2;
  background: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus,
.mobile-nav a.active {
  color: #CA9042;
  background: #fff;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =======================================================================
   CALL-TO-ACTION BUTTONS
======================================================================= */
.cta, a.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.14rem;
  text-transform: uppercase;
  background: #274472;
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 13px 34px;
  letter-spacing: 0.07em;
  margin-top: 6px;
  margin-bottom: 6px;
  box-shadow: 0 3px 12px #27447219;
  transition: background var(--transition), color var(--transition), transform 0.17s cubic-bezier(.72,.47,.39,1.36);
  outline: none;
  position: relative;
}
.cta.primary {
  background: #CA9042;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #274472;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}
.cta:not(.primary):hover,
.cta:not(.primary):focus {
  background: #CA9042;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
/* Micro-interactions for active state */
.cta:active {
  transform: scale(0.98);
}

/* =======================================================================
   TESTIMONIALS & SLIDER
======================================================================= */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 5px 26px #2744721d;
  min-width: 260px;
  max-width: 360px;
  color: #1b2536;
  font-size: 1rem;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
  border-left: 5px solid #CA9042;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px #CA90422c;
}
.testimonial-card span {
  font-weight: bold;
  color: #CA9042;
  font-size: 1.05rem;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 18px;
  }
}
.community-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 25px;
}
@media (max-width: 900px) {
  .community-quotes {
    flex-direction: column;
    gap: 15px;
  }
}

/* =======================================================================
   CTA BOX
======================================================================= */
.cta-box {
  background: #274472;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 36px #27447214;
  padding: 36px 20px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
.cta-box h2 {
  color: #fff;
  margin-bottom: 18px;
}

/* =======================================================================
   FOOTER
======================================================================= */
footer {
  background: #F7F5E6;
  border-top: 3px solid #CA9042;
  margin-top: 44px;
  padding: 32px 0 18px 0;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 19px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #274472;
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 11px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #CA9042;
  color: #fff;
}
.contact-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
  color: #274472;
  margin: 8px 0 12px 0;
  flex-wrap: wrap;
}
.contact-snippet img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 4px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0 7px 0;
}
.footer-logo img {
  width: 56px;
  height: auto;
}
footer small {
  text-align: center;
  display: block;
  color: #888;
  letter-spacing: 0.03em;
  margin-top: 9px;
}

/* =======================================================================
   SOCIAL LINKS
======================================================================= */
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
}
.social-links a {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
  transition: background var(--transition);
}
.social-links a:hover, .social-links a:focus {
  background: #CA9042;
}
.social-links img {
  width: 30px;
  height: 30px;
}

/* =======================================================================
   COOKIE BANNER & MODAL
======================================================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #CA9042;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -8px 30px #CA904275;
  animation: slideInCookie 0.43s cubic-bezier(.65,.05,.36,1);
  gap: 20px;
}
@keyframes slideInCookie {
  from {  transform: translateY(120%); }
  to {    transform: translateY(0); }
}
.cookie-banner-text {
  max-width: 540px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
}
.cookie-banner-cta {
  display: flex;
  gap: 16px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 9px 24px;
  margin: 0 3px;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  background: #274472;
  color: #fff;
}
.cookie-consent-banner button.accept {
  background: #274472;
}
.cookie-consent-banner button.reject {
  background: #fff;
  color: #274472;
}
.cookie-consent-banner button.settings {
  background: #CA9042;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  filter: brightness(1.1);
  background: #1b2536;
  color: #fff;
}

.cookie-preferences-modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #F7F5E6;
  color: #1b2536;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3050;
  padding: 45px 22px 24px 22px;
  border-radius: 0;
  box-shadow: 0 9px 50px #27447248;
  animation: fadeInCookie 0.4s cubic-bezier(.65,.05,.36,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-preferences-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 28px #CA904230;
  padding: 35px 26px 19px 26px;
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Merriweather', serif;
  font-size: 1.22rem;
  font-weight: bold;
  color: #CA9042;
}
.cookie-modal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 11px;
}
.cookie-modal-row {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.cookie-modal-row label {
  font-size: 1rem;
  color: #274472;
  font-weight: 700;
}
.cookie-modal-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #CA9042;
}
.cookie-modal-row input[disabled] {
  accent-color: #aaa;
  cursor: not-allowed;
}
.cookie-modal-save {
  background: #CA9042;
  color: #fff;
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 24px;
  border: none;
  align-self: flex-end;
  min-width: 160px;
  transition: background var(--transition);
  margin-top: 6px;
}
.cookie-modal-save:hover { background: #274472; }
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #CA9042;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover {
  color: #274472;
}

/* =======================================================================
   UTILITY/HELPERS
======================================================================= */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-40 { margin-top: 40px; }

/* =======================================================================
   RESPONSIVE QUERIES
======================================================================= */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .footer-nav, .contact-snippet {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .cta {
    width: 100%;
    padding: 14px 0;
    font-size: 1.08rem;
  }
  .card, .features-grid > div, .review-list article {
    min-width: unset;
    padding: 22px 12px;
  }
  .cta-box {
    padding: 28px 6px;
  }
  .content-wrapper, .content-grid {
    gap: 12px;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 6px;
  }
  .social-links {
    gap: 9px;
  }
}
@media (max-width: 480px) {
  .testimonial-card, .features-grid > div, .review-list article, .services {
    padding: 12px 6px;
    min-width: unset;
    max-width: 100%;
  }
}
/* End of CSS */
