/* RESET & BASELINE ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #F6FAFB 0%, #e6eef2 100%);
  color: #234B5E;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.5s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #234B5E;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin: 0 0 1.5em 1.25em;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
strong {
  font-weight: 600;
}
button {
  font-family: inherit;
  border: none;
  outline: none;
  background: transparent;
}
h1, .h1 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #234B5E;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #234B5E;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #234B5E;
}
h4, .h4 {
  font-size: 1.125rem;
  font-weight: 600;
}
p, li {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #345970;
}
.subtitle {
  font-size: 1.25rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 26px;
  font-weight: 400;
  color: #2b4761;
  letter-spacing: 0.01em;
}

/* LAYOUT HELPERS ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFFDD;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(35, 75, 94, .07);
  transition: box-shadow 0.2s;
}

.feature-grid, .features, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature {
  background: #F6FAFB;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(35,75,94,0.06);
  padding: 28px 24px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 6px 28px rgba(35,75,94,0.13);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(35,75,94,0.09);
  padding: 24px 24px 18px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 380px;
}
.card:hover {
  box-shadow: 0 10px 28px rgba(35,75,94,0.17);
  transform: translateY(-3px) scale(1.018);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* TESTIMONIALS ------------------------------------------------------- */
.testimonials, .testimonial-section {
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35,75,94,0.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px rgba(35,75,94,0.17);
}
.testimonial-content p {
  margin: 0 0 6px 0;
  color: #234B5E;
  font-size: 1.10rem;
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.testimonial-author {
  font-size: 0.95rem;
  margin-bottom: 1px;
  color: #456C86;
  font-weight: 500;
}
.testimonial-rating {
  color: #CE9238;
  font-size: 1.12rem;
  letter-spacing: 0.15em;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* HERO --------------------------------------------------------------- */
.hero {
  background: linear-gradient(104deg,#F6FAFB 52%, #e0ecf2 100%);
  padding: 72px 0 48px 0;
  margin-bottom: 38px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}

/* SERVICES ----------------------------------------------------------- */
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(35, 75, 94, .07);
}
.services ul li {
  margin-bottom: 8px;
}

/* CONTACT ------------------------------------------------------------ */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 14px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.contact-details img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.75;
}
.contact-details a {
  color: #234B5E;
  text-decoration: underline;
}

/* FOOTER ------------------------------------------------------------- */
footer {
  background: linear-gradient(95deg,#F6FAFB 80%,#e7eef7 100%);
  padding: 36px 0 0 0;
  border-top: 1px solid #e4ebf0;
  margin-top: 60px;
}
footer .container {
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 20px 0 12px 0;
}
.footer-nav a {
  color: #234B5E;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 2px 3px;
}
.footer-nav a:hover {
  color: #CE9238;
}
footer p {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 6px;
  color: #8D98A6;
}
footer img {
  width: 46px;
  margin: 0 auto 10px auto;
}

/* BUTTONS ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  font-family: inherit;
  background: linear-gradient(90deg,#234B5E 66%, #4c81a2 100%);
  color: #FFF !important;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  font-size: 1.075rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 12px;
  box-shadow: 0 2px 10px rgba(35,75,94,0.09);
  cursor: pointer;
  outline: none;
  transition: background 0.23s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg,#406e88 68%, #CE9238 100%) !important;
  color: #FFF !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px #cdb48855;
}
.btn-secondary {
  display: inline-block;
  font-family: inherit;
  background: #F6FAFB;
  color: #234B5E;
  border: 1px solid #D1E4EB;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 500;
  margin: 8px 0;
  box-shadow: 0 1px 8px rgba(35,75,94,0.07);
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.btn-secondary:hover {
  background: #e7ecf8;
  color: #CE9238;
  border-color: #CE9238;
}

/* NAV & HEADER ------------------------------------------------------- */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 16px rgba(35,75,94,0.04);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 13px 20px 13px 16px;
}
.main-nav > a {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.main-nav ul li {
  margin-right: 18px;
}
.main-nav ul li:last-child {
  margin-right: 0;
}
.main-nav ul li a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 0;
  color: #234B5E;
  font-weight: 500;
  border-radius: 3px;
  transition: color 0.15s, background 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #CE9238;
  background: #f3ece1;
}
.main-nav .btn-primary {
  margin-top: 0 !important;
  margin-left: 24px;
  font-size: 1rem;
  padding: 9px 20px;
  box-shadow: 0 1px 8px rgba(35,75,94,0.08);
}

/* MOBILE NAVIGATION -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #234B5E;
  cursor: pointer;
  padding: 12px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover {
  color: #CE9238;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,75,94,0.92);
  color: #FFF;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 46px;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -2px 0 16px #6788a780;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  color: #FFF;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 260;
  padding: 4px 11px;
  border-radius: 98px;
  transition: background 0.18s, color 0.2s;
}
.mobile-menu-close:hover {
  background: #2a4f68;
  color: #CE9238;
}
.mobile-nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 32px;
}
.mobile-nav a {
  display: block;
  font-size: 1.25rem;
  padding: 14px 0 14px 0;
  font-weight: 500;
  color: #FFF;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  transition: color 0.18s, background 0.14s;
  min-width: 190px;
  margin-bottom: 0;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CE9238;
  background: rgba(255,255,255,0.09);
}


/* RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1000px) {
  .main-nav ul {
    gap: 2px;
  }
  .feature {
    padding: 22px 14px;
    min-width: 180px;
  }
}
@media (max-width: 850px) {
  .main-nav ul li {
    margin-right: 10px;
  }
  .main-nav {
    padding: 13px 4vw 13px 8px;
  }
  .feature {
    min-width: 120px;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 14px;
    right: 15px;
  }
  .features, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature {
    margin-bottom: 12px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  .hero {
    padding: 36px 0 22px 0;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.38rem; }
  .container { padding: 0 3vw; }
  .section, .services, .contact { padding: 23px 4vw; }
}

/* LEGAL -------------------------------------------------------------- */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 10px;
}
.legal h1, .legal h2 {
  margin-top: 12px;
  margin-bottom: 16px;
}
.legal ul {
  margin: 0 0 1em 1.5em;
}
.legal a {
  color: #234B5E;
  text-decoration: underline;
}
.legal a:hover { color: #CE9238; }

/* CONFIRMATION PAGE --------------------------------------------------- */
.confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6FAFB;
  border-radius: 16px;
  text-align: center;
}

/* COOKIE CONSENT BANNER + MODAL --------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F6FAFB;
  color: #234B5E;
  box-shadow: 0 -2px 24px #56788233;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  z-index: 9000;
  font-size: 1.05rem;
  transition: transform 0.4s;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .btn-settings {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1rem;
  background: #234B5E;
  color: #FFF;
  margin: 0 5px 0 0;
  font-family: inherit;
  box-shadow: 0 2px 8px #34597033;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.17s;
}
.cookie-banner button:hover,
.cookie-banner .btn-settings:hover {
  background: #CE9238;
  color: #FFF;
}
.cookie-banner .btn-secondary {
  background: #F6FAFB;
  color: #234B5E;
  border: 1px solid #cfcfcf;
  box-shadow: none;
}
.cookie-banner .btn-secondary:hover {
  background: #e7ecf8;
  color: #CE9238;
  border-color: #CE9238;
}

/* Cookie Preferences Modal ------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 9001;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,75,94,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.25s;
}
@keyframes fadeInBg {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 8px 42px rgba(35,75,94,0.18);
  padding: 28px 26px 22px 26px;
  max-width: 95vw;
  width: 400px;
  color: #234B5E;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  animation: modalIn 0.29s cubic-bezier(.7,0,.2,1);
  position: relative;
}
@keyframes modalIn {
  from { transform: translateY(60px) scale(0.96); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 4px;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-category {
  margin-bottom: 18px;
}
.cookie-category label {
  cursor: pointer;
}
.cookie-category input[type='checkbox'] {
  accent-color: #234B5E;
  width: 18px; height: 18px;
  margin-right: 7px;
}
.cookie-category .category-desc {
  font-size: 1rem;
  color: #456C86;
  margin-left: 28px;
  display: block;
  margin-top: -7px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 1.35rem;
  background: none;
  border: none;
  color: #234B5E;
  cursor: pointer;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  transition: background 0.18s, color 0.15s;
  z-index: 10010;
}
.cookie-modal .close-cookie-modal:hover {
  background: #F6FAFB;
  color: #CE9238;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 8px;
}

/* Feature Items ------------------------------------------------------ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Miscellaneous ------------------------------------------------------ */
hr {
  border: 0;
  border-bottom: 1px solid #E5EAF1;
  margin: 32px 0 28px 0;
}
::-webkit-input-placeholder { color: #8D98A6; }
::-moz-placeholder { color: #8D98A6; }
:-ms-input-placeholder { color: #8D98A6; }
::placeholder { color: #8D98A6; }

/* ACCESSIBILITY ------------------------------------------------------ */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px dashed #CE9238;
  outline-offset: 2px;
}

/* Z-INDEX CHECK ------------------------------------------------------ */
header { z-index: 50; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 9000; }
.cookie-modal-backdrop { z-index: 9001; }
.cookie-modal { z-index: 9999; }

/* END --------------------------------------------------------------- */
