/* =====================================
   CSS RESET & BASE
====================================== */
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,
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;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #184D72;
  background: #F7F7F2;
  min-height: 100vh;
}
a {
  color: #184D72;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(0.33,1,0.68,1);
}
a:hover, a:focus {
  color: #F4A259;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* =====================================
   GEOMETRIC/STRUCTURED TYPE & COLORS
====================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #184D72;
}
h1 { font-size: 2.375rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }

p, ul, ol { font-size: 1rem; margin-bottom: 18px; }
p.subheadline {
  font-size: 1.125rem;
  color: #184D72;
  font-weight: 600;
  margin-bottom: 28px;
}
ul, ol { padding-left: 24px; }
ul li, ol li { margin-bottom: 8px; }
strong { font-weight: bold; }

/* Utility classes */
.text-section { margin-bottom: 22px; }

/* =====================================
   LAYOUT: CONTAINER, SECTIONS, GRIDS
====================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1.5px 8px rgba(24,77,114,0.09), 0 0.5px 2px rgba(24,77,114,0.05);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  transition: box-shadow 0.25s cubic-bezier(0.19,1,0.22,1), transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(24,77,114,0.18);
  transform: translateY(-3px) 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: #fff;
  color: #184D72;
  border-left: 7px solid #F4A259;
  border-radius: 12px 0 0 12px;
  padding: 20px 32px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(24,77,114,0.14);
  position: relative;
  min-width: 240px;
  flex: 1 1 340px;
}
.testimonial-author {
  color: #F4A259;
  font-weight: 700;
  margin-left: auto;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.feature-item,
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(24,77,114,0.09);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 256px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-item:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(24,77,114,0.16);
  transform: translateY(-5px) scale(1.017);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 6px;
  background-color: #F7F7F2;
  padding: 7px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.service-list li {
  background: #fff;
  border-left: 6px solid #184D72;
  border-radius: 8px 0 0 8px;
  padding: 18px 22px 18px 28px;
  list-style: none;
  min-width: 240px;
  font-size: 1.08rem;
  color: #1A233F;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 1px 6px rgba(24,77,114,0.08);
}
.service-list img {
  width: 38px;
  height: 38px;
}

/* =====================================
   HEADER
====================================== */
header {
  width: 100%;
  background: #184D72;
  color: #fff;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 18px;
}
header img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #F4A259;
  color: #184D72;
}
.cta-button {
  background: #F4A259;
  color: #184D72;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 3px 8px rgba(244,162,89,0.14);
  transition: background 0.22s, color 0.22s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #184D72;
  color: #fff;
  box-shadow: 0 6px 20px rgba(24,77,114,0.14);
  transform: translateY(-2px) scale(1.03);
}

button, .cta-button {
  outline: none;
  transition: box-shadow 0.16s, background 0.12s linear;
}
button:focus, .cta-button:focus {
  box-shadow: 0 0 0 3px #F4A25955;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 14px;
  z-index: 1040;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #F4A259;
}

/* =====================================
   MOBILE MENU
====================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #184D72;
  color: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.33,1,0.68,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F4A259;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 28px 28px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2100;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 38px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1.5px solid #fff1;
  width: 100%;
  border-radius: 0;
  transition: color 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4A259;
}

@media (max-width: 1100px) {
  .container { max-width: 980px; }
  .feature-grid { flex-direction: column; }
}
@media (max-width: 900px) {
  .container { max-width: 90vw; }
  .feature-grid, .card-container, .content-grid { flex-direction: column; gap: 18px; }
  header nav { gap: 12px; }
}
@media (max-width: 768px) {

  .container {
    max-width: 100vw;
    padding: 0 10px;
  }

  header .container {
    flex-direction: row;
    gap: 0;
    padding: 11px 10px;
  }

  header nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .cta-button { margin-left: 10px; }
  .section { margin-bottom: 34px; padding: 24px 7px; }
  .content-wrapper { gap: 18px; }

  .feature-grid, .card-container, .content-grid,
  .testimonial-card, .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .testimonial-card { padding: 15px 13px; border-left-width: 4px; }
  .feature-item, .feature-grid > div,
  .card {
    padding: 15px 12px;
    min-width: unset;
    border-radius: 9px;
  }
  .service-list li {
    padding: 10px 12px 10px 14px;
    border-left-width: 4px;
  }
}
@media (max-width: 540px) {
  header img { max-width: 110px; height: 30px; }
  .footer-logo img { max-width: 62px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  .cta-button { font-size: 0.97rem; padding: 8px 15px; border-radius: 6px; }
}

/* =====================================
   FOOTER
====================================== */
footer {
  background: #f7f7f2;
  border-top: 3px solid #184D72;
  color: #184D72;
  padding: 32px 0 16px 0;
  margin-top: 42px;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
}
.footer-logo img {
  width: 76px;
  height: auto;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #184D72;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4A259;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

/* =====================================
   COOKIE CONSENT BANNER & MODAL
====================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #184D72;
  color: #fff;
  z-index: 3000;
  padding: 26px 22px;
  box-shadow: 0 -3px 12px rgba(24,77,114,0.17);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  transition: transform 0.38s cubic-bezier(0.33,1,0.68,1), opacity 0.38s;
}
.cookie-banner.collapse {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .cookie-accept {
  background: #F4A259;
  color: #184D72;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #fff;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #184D72;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #F4A259;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #F4A259;
  font-weight: 600;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #fff;
  text-decoration: underline;
  background: #184D72;
}

@media (max-width: 540px) {
  .cookie-banner {
    padding: 18px 8px;
    gap: 13px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-banner button { width: 100%; }
}


/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,77,114,0.23);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.25s both;
}

.cookie-modal {
  background: #fff;
  color: #184D72;
  border-radius: 14px;
  box-shadow: 0 7px 28px rgba(24,77,114,0.18);
  min-width: 320px;
  max-width: 96vw;
  padding: 36px 34px 28px 34px;
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: slidein 0.38s cubic-bezier(0.33,1,0.68,1);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 7px;
  color: #184D72;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
}
.cookie-modal label {
  font-size: 1.04rem;
  font-weight: 500;
}
.cookie-category.essential label {
  color: #184D72;
  font-weight: 700;
  opacity: 0.62;
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 17px;
  background: none;
  border: none;
  color: #F4A259;
  font-size: 2.05rem;
  cursor: pointer;
  z-index: 4200;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  border-radius: 7px;
  border: none;
  padding: 7px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  background: #184D72;
  color: #fff;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-actions .save {
  background: #F4A259;
  color: #184D72;
}
.cookie-modal-actions .cancel {
  background: #fff;
  color: #184D72;
  border: 1.2px solid #EEE;
}
.cookie-modal-actions button:hover {
  opacity: 0.94;
}

@media (max-width: 580px) {
  .cookie-modal { padding: 15px 7px 12px 7px; min-width: 0; }
}

/* =====================================
   INTERACTIONS & VISUAL EFFECTS
====================================== */
.card, .feature-item, .feature-grid > div, .service-list li, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.14s;
}
.card:hover, .feature-item:hover, .feature-grid > div:hover, .service-list li:hover {
  box-shadow: 0 7px 24px rgba(24,77,114,0.16);
  transform: scale(1.015) translateY(-2px);
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px rgba(24,77,114,0.20);
  transform: scale(1.001) translateY(-3px);
  border-left-color: #184D72;
}

.button, button, .cta-button, .cookie-modal-actions button, .cookie-banner button {
  transition: background 0.2s, color 0.2s, box-shadow 0.13s;
}
.button:active, .cta-button:active, button:active {
  box-shadow: none;
}

::-webkit-selection, ::selection {
  background: #F4A259;
  color: #fff;
}

/* =====================================
   SCROLLBAR & FORM CUSTOMIZATION
====================================== */
html {
  scrollbar-width: thin;
  scrollbar-color: #184D72 #F7F7F2;
}
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #184D72; border-radius: 8px; }
::-webkit-scrollbar-track { background: #F7F7F2; }

/* =====================================
   UTILITY
====================================== */
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; border: 0 !important; }
