/* --- CSS RESET & NORMALIZATION --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: 'Roboto', Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; height: 100%; background: #fff; color: #181818; }
body { min-height: 100vh; background: #fff; color: #181818; }
img, svg { display: block; max-width: 100%; height: auto; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.12; color: #181818; }
h1 { font-size: 2.75rem; margin-bottom: 18px; text-shadow: 0 2px 24px #0002; }
h2 { font-size: 1.9rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol { font-size: 1rem; line-height: 1.64; color: #232323; margin-bottom: 18px; }
ul, ol { padding-left: 22px; margin-bottom: 18px; }
a { color: #253D5B; text-decoration: none; transition: color .20s; }
a:hover, a:focus { color: #111; text-decoration: underline; }
strong, b { font-weight: 700; color: #222; }

/* Typography scale for visual hierarchy */
.subheadline { color: #4A4A4A; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 400; margin-bottom: 22px; letter-spacing: 0.01em; }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
main { flex: 1 1 0%; margin-top: 34px; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 1.5px 12px #2323230e, 0 0.5px 3px #23232307;
  border-radius: 16px;
  transition: box-shadow .18s;
  position: relative;
}
section:last-child { margin-bottom: 0; }

/* Card and Flex spacing patterns */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2.5px 18px #2323230b;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: 0 8px 32px #0002; transform: translateY(-2px) scale(1.02); }

/* For grid-like flex layouts */
.features-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div, .content-grid > div {
  flex: 1 1 250px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 1px 8px #23232307;
  padding: 26px 20px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 210px;
  transition: background .22s, box-shadow .2s;
}
.features-grid > div img, .content-grid > div img {
  width: 34px;
  margin-bottom: 8px;
}
.features-grid > div:hover, .content-grid > div:hover {
  background: #ededed;
  box-shadow: 0 5px 20px #2221;
}

.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 22px; align-items: stretch; }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 7px;
}
.testimonial-card {
  background: #fff;
  border: 1.5px solid #e2e2e2;
  box-shadow: 0 2px 16px #23232312;
  border-radius: 13px;
  padding: 24px 20px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 220px;
  max-width: 360px;
  color: #181818;
  position: relative;
  transition: box-shadow .15s;
}
.testimonial-card strong { color: #253D5B; font-size: 1em; }
.testimonial-card span { color: #E6B800; font-size: 1.15em; font-family: 'Montserrat', Arial, sans-serif; letter-spacing: 0.04em; }
.testimonial-card:hover {
  box-shadow: 0 8px 32px #2222;
}

.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

.contact-data {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  font-size: 1.08em;
  margin-bottom: 22px;
}
.contact-data img { width: 24px; opacity: 0.8; margin-right: 7px; vertical-align: middle; }
.contact-data span { font-family: 'Montserrat', Arial, sans-serif; color: #222; }

.text-section { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; width: 100%; }

/* --- HEADER & FOOTER --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px #0001;
  position: sticky;
  top: 0;
  z-index: 1001;
  padding: 0;
}
header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 18px; }
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 500;
  color: #232323;
  opacity: 0.88;
  letter-spacing: 0.01em;
  transition: color .16s, opacity .16s;
  position: relative;
}
header nav a:hover, header nav a.active {
  color: #253D5B;
  opacity: 1;
}
header a.cta.primary {
  margin-left: 20px;
}
header img { height: 44px; width: auto; margin-right: 24px; margin-left: 0; }

footer {
  width: 100%;
  background: #f3f4f6;
  border-top: 1px solid #dee1e6;
  padding: 0;
  font-size: 1em;
}
footer .container {
  flex-direction: column;
  gap: 0px;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 20px;
}
footer nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  order: 1;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4A4A4A;
  font-size: 1em;
  opacity: 0.8;
  transition: color .15s, opacity .14s;
}
footer nav a:hover { color: #253D5B; opacity: 1; }
footer .company-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #333;
  order: 2;
}
footer .company-info span { font-family: 'Roboto', Arial, sans-serif; font-size: 0.98em; }
footer .cta.primary {
  order: 3;
  margin-left: auto;
}

@media (max-width: 1000px) {
  header .container, footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .cta.primary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  main { margin-top: 13px; }
  section { margin-bottom: 34px; padding: 28px 8px; }
  .container { padding: 0 6px; }
  .features-grid, .content-grid, .testimonial-slider { gap: 14px; }
  .features-grid > div, .content-grid > div, .card { min-width: 160px; padding: 15px 10px; }
}

/* --- BUTTONS & CTA --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  border: none;
  outline: none;
  border-radius: 100px;
  padding: 13px 35px;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background .18s, color .18s, box-shadow .18s, transform .14s;
  box-shadow: 0 2px 20px #253D5B13, 0 1px 4px #E6B80007;
  cursor: pointer;
}
.cta.primary {
  background: #181818;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #253D5B;
  color: #E6B800;
  box-shadow: 0 5px 26px #253D5B27;
  transform: translateY(-1px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #253D5B;
  border: 2px solid #253D5B;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #253D5B;
  color: #fff;
  border-color: #181818;
}
.button, button, input[type="submit"], input[type="button"] {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

/* Forms (with snooth subtle monochrome) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fafbfc;
  border: 1.5px solid #d2d2d2;
  border-radius: 7px;
  padding: 12px;
  font-size: 1rem;
  color: #212121;
  margin-bottom: 18px;
  outline: none;
  transition: border .17s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #253D5B;
  box-shadow: 0 2px 12px #253D5B18;
}

/* --- RESPONSIVE FLEX LAYOUTS --- */
@media (max-width: 850px) {
  .features-grid, .content-grid, .testimonial-slider, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper { gap: 17px; }
  .contact-data { flex-direction: column; gap: 10px 0; }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 18px;
  z-index: 1100;
  background: #181818;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 12px #253D5B11;
  transition: background .14s;
  outline: 0;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus { background: #253D5B; color: #E6B800; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181818ee;
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(0.31,0.6,0.6,1), opacity .3s;
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  margin: 30px 0 0 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: color .14s;
  z-index: 1300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E6B800;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 30px 0 0 30px;
  width: 80vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.93;
  padding: 13px 0;
  border-bottom: 1px solid #47474724;
  width: 100%;
  transition: color .18s, background .18s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E6B800;
  background: #253D5B14;
  outline: none;
}

@media (max-width: 950px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav { display: none !important; }
  header a.cta.primary {
    display: none !important;
  }
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #181818ee;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -2px 32px #23232344;
  z-index: 2002;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 18px;
  font-size: 1rem;
  line-height: 1.5;
  animation: bannerFade .8s cubic-bezier(0.41,.19,.41,.89);
}
@keyframes bannerFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  max-width: 660px;
  margin-right: 18px;
}
.cookie-banner button {
  padding: 9px 23px;
  border-radius: 80px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-right: 8px;
  transition: background .16s, color .16s, box-shadow .15s;
}
.cookie-banner .accept { background: #253D5B; color: #fff; }
.cookie-banner .accept:hover, .cookie-banner .accept:focus { background: #E6B800; color: #253D5B; box-shadow: 0 2px 8px #E6B80044; }
.cookie-banner .reject { background: #fff; color: #181818; border: 1px solid #253D5B; }
.cookie-banner .reject:hover, .cookie-banner .reject:focus { background: #232323; color: #fff; }
.cookie-banner .settings { background: #E6B800; color: #181818; }
.cookie-banner .settings:hover, .cookie-banner .settings:focus { background: #253D5B; color: #fff; }

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24,24,24,0.81);
  justify-content: center;
  align-items: center;
  z-index: 2200;
}
.cookie-modal-overlay.open { display: flex; animation: bannerFade .4s; }
.cookie-modal {
  min-width: 340px; max-width: 94vw;
  background: #fff;
  color: #212121;
  border-radius: 16px;
  box-shadow: 0 6px 44px #23232366;
  padding: 34px 24px 28px 24px;
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 22px;
  animation: modalIn .33s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #181818;
  margin-bottom: 14px;
}
.cookie-modal label { font-size: 1.08rem; font-family: 'Roboto', Arial, sans-serif; }
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal input[type="checkbox"] { width: 18px; height: 18px; }
.cookie-modal .category.essential label { color: #888; font-style: italic; cursor: not-allowed; }
.cookie-modal .cookie-modal-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  width: 100%;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px; right: 18px;
  background: #23232309;
  color: #181818;
  border-radius: 50%;
  font-size: 1.32rem;
  width: 34px; height: 34px;
  border: none;
  cursor: pointer;
  transition: background .12s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  background: #E6B80033;
  color: #253D5B;
}

/* --- TABLES --- */
table { width: 100%; border-collapse: collapse; margin: 18px 0 24px 0; }
thead { background: #2323230b; }
th, td {
  border: 1px solid #dedede;
  padding: 10px 8px;
  text-align: left;
}
th { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; background: #f0f0f0; }
tr:nth-child(even) td { background: #f7f7f7; }

/* --- ANIMATION CLASSES --- */
.fade-in { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- ACCESSIBILITY & FOCUS --- */
:focus-visible {
  outline: 2px solid #253D5B;
  outline-offset: 2px;
  z-index: 9000 !important;
}

/* --- ELEVATION/EFFECTS --- */
.shadow-sm { box-shadow: 0 1px 8px #23232314; }
.shadow-md { box-shadow: 0 4px 24px #2323231b; }
.shadow-lg { box-shadow: 0 12px 54px #23232329; }

/* --- MISC UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }

/* --- PRINT --- */
@media print {
  header, footer, .cta, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section { box-shadow: none !important; background: #fff !important; }
}

/* --- BRAND COLOR PALETTE --- */
body, section, .container, .card, .content-wrapper { background: #fff; }
h1, h2, h3, h4, h5, h6, .cta.primary { color: #181818; }
a, .cta.primary { color: #93a0af; }
.cta.primary:hover, .cta.primary:focus {
  background: #253D5B;
  color: #E6B800;
}
.cta.secondary { color: #253D5B; border-color: #253D5B; }
.cta.secondary:hover, .cta.secondary:focus { background: #253D5B; color: #fff; }

/* --- OVERWRITE MARGINS & GAPS FOR SAFETY --- */
section > .container > .content-wrapper > * + *:not(.features-grid):not(.testimonial-slider) { margin-top: 17px; }
.features-grid > div + div, .content-grid > div + div, .testimonial-slider > .testimonial-card + .testimonial-card {
  margin-left: 0;
}
section, .card, .features-grid > div, .testimonial-card { margin-bottom: 20px; }
/* Add extra margin between stacked cards/sections */
@media (max-width: 600px) { section, .card, .features-grid > div, .testimonial-card { margin-bottom: 24px; } }

/* --- ENSURE NO OVERLAP ON TIGHT SCREENS --- */
@media (max-width: 500px) {
  section, .features-grid > div, .testimonial-card { padding-left: 4px; padding-right: 4px; }
}
