/* --- 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,
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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #17315C;
  background: #F6F6F6;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: linear-gradient(135deg, #f9fbfd 0%, #ebf0f6 100%);
}
main {
  flex: 1 0 auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #17315C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFD77A;
  outline-offset: 2px;
}
a:hover {
  color: #0e2241;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
strong, b {
  font-weight: bold;
}
blockquote {
  border-left: 4px solid #FFD77A;
  padding-left: 1em;
  color: #17315C;
  margin-bottom: 1em;
  background: #fff;
  font-size: 1.1em;
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #17315C;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.08rem; margin-bottom: 8px; }

/* --- Spacing & Layout Patterns --- */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto 32px auto;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 16px rgba(23,49,92,0.08);
  border-radius: 16px;
  padding: 28px 22px 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(23,49,92,0.16);
  transform: translateY(-2px) 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;
  padding: 20px;
  background: #F6F6F6;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(23,49,92,0.08);
  flex-direction: row;
}
.testimonial-card blockquote {
  margin: 0;
  background: none;
  border: none;
  font-style: italic;
  color: #17315C;
}
.testimonial-meta {
  font-size: 0.98em;
  color: #17315C;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  opacity: 0.8;
  margin-left: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.features-grid > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(23,49,92,0.07);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 270px;
  max-width: 100%;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
  margin-bottom: 0;
}
.features-grid > div:hover {
  box-shadow: 0 4px 24px rgba(23,49,92,0.13);
  transform: translateY(-3px) scale(1.018);
}
.features-grid img {
  width: 40px;
  height: 40px;
}
.features-grid h3 {
  font-size: 1.15rem;
  margin-top: 16px;
  margin-bottom: 10px;
}
.features-grid p {
  font-size: 1rem;
  color: #17315C;
}
.features-grid span {
  display: inline-block;
  font-weight: bold;
  color: #17315C;
  margin-top: 7px;
}
.features-grid a {
  display: inline-block;
  margin-top: 9px;
  color: #17315C;
  text-decoration: underline;
  font-size: 0.99em;
  transition: color 0.2s;
}
.features-grid a:hover {
  color: #FFD77A;
}
.contact-quick-info p {
  margin-bottom: 5px;
  font-size: 1.04em;
}
.map-placeholder {
  background: #F6F6F6;
  border-radius: 12px;
  padding: 24px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 16px;
}
.client-logos img {
  height: 30px;
  width: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(23,49,92,0.11);
  padding: 4px;
}

/* --- Buttons & CTAs --- */
.cta.primary {
  background: linear-gradient(90deg, #17315C 20%, #224278 90%);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 13px 34px;
  font-size: 1.1em;
  font-weight: 700;
  font-family: 'Merriweather', 'Georgia', serif;
  cursor: pointer;
  transition: background 0.22s, transform 0.17s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(23,49,92,0.07);
  margin-top: 22px;
  margin-bottom: 10px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #224278 20%, #17315C 80%);
  color: #FFD77A;
  box-shadow: 0 4px 22px rgba(23,49,92,0.15);
  transform: translateY(-1px) scale(1.02);
}
button, .button {
  font-family: inherit;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1em;
  background: #ffd77a;
  color: #17315C;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, box-shadow 0.18s;
}
button:hover, .button:hover {
  background: #ffe9ae;
  color: #17315C;
  box-shadow: 0 2px 12px rgba(23,49,92,0.08);
}

/* --- Header & Navigation --- */
header {
  width: 100%;
  background: linear-gradient(135deg, #fff 70%, #F6F6F6 100%);
  box-shadow: 0 2px 14px rgba(23,49,92,0.04);
  z-index: 180;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 14px 0;
  min-height: 68px;
  position: relative;
}
.main-nav > a img {
  height: 36px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1em;
  padding: 5px 9px;
  color: #17315C;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: #ffd77a;
  color: #17315C;
}
.main-nav .cta.primary {
  margin-left: 22px;
  margin-top: 0;
  padding: 11px 26px;
  font-size: 0.99em;
}

/* --- Footer --- */
footer {
  background: linear-gradient(135deg, #17315C 10%, #224278 90%);
  color: #fff;
  padding-top: 56px;
  padding-bottom: 12px;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding-bottom: 18px;
  margin-bottom: 12px;
}
.footer-top img {
  height: 38px;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-top nav a {
  color: #FFD77A;
  font-size: 1em;
  opacity: 0.97;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.2s, opacity 0.2s;
}
.footer-top nav a:hover {
  color: #fff3b6;
  opacity: 1;
}
.footer-bottom {
  text-align: right;
  font-size: 0.96em;
  color: #ffd77a;
  margin-top: 12px;
  opacity: 0.9;
}

/* --- Responsive FLEX LAYOUTS --- */
@media (max-width: 1100px) {
  .container { padding: 0 8px; }
}
@media (max-width: 992px) {
  .main-nav ul { gap: 14px; }
  .features-grid > div { min-width: 170px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .main-nav ul, .main-nav .cta.primary { display: none; }
  .main-nav {
    padding: 16px 0 12px 0;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
  }
  .card-container { flex-direction: column; gap: 20px; }
  .footer-top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-top nav {
    flex-direction: column;
    gap: 6px;
  }
  .footer-bottom { text-align: left; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* --- Mobile Burger Menu Styles --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 28px;
  top: 18px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: none;
  color: #17315C;
  border-radius: 8px;
  border: none;
  z-index: 203;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.mobile-menu-toggle:focus {
  background: #FFD77A;
  color: #17315C;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(130deg, #fff 70%, #ffd77a 100%);
  box-shadow: -4px 0 24px rgba(23,49,92,0.18);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 18px 0;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: -2px 0 32px rgba(23,49,92,0.15);
}
.mobile-menu-close {
  background: none;
  color: #17315C;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin-right: 20px;
  margin-top: 18px;
  cursor: pointer;
  z-index: 202;
  transition: color 0.15s, background 0.13s;
  padding: 8px;
  border-radius: 6px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD77A;
  background: #17315C11;
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 36px 0 36px;
}
.mobile-nav a {
  font-size: 1.12em;
  font-family: 'Merriweather', 'Georgia', serif;
  color: #17315C;
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 700;
  transition: color 0.18s, background 0.18s;
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #ffd77a;
  color: #17315C;
}
@media (min-width: 769px) {
  .mobile-menu { display: none!important; }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #FFD77A 54%, #fff 100%);
  color: #17315C;
  z-index: 2222;
  box-shadow: 0 -2px 22px rgba(23,49,92,0.12);
  padding: 24px 18px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 72px;
  font-size: 1.06em;
  animation: slideUpCookie 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #17315C;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: inherit;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
  padding: 10px 22px;
}
.cookie-btn-accept {
  background: #17315C;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #224278;
  color: #FFD77A;
}
.cookie-btn-reject {
  background: #FFD77A;
  color: #17315C;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #FFE9AE;
}
.cookie-btn-settings {
  background: #fff;
  border: 1px solid #ffd77a;
  color: #17315C;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #FFD77A;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 7px 14px 7px; }
  .cookie-banner .cookie-actions { gap: 8px; }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 2229;
  background: rgba(23,49,92,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.34s cubic-bezier(.7,0,.18,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px #17315C23, 0 2px 6px #17315C23;
  width: 98%;
  max-width: 420px;
  padding: 26px 32px 32px 32px;
  position: relative;
  font-size: 1.03em;
  font-family: 'Roboto', Arial, sans-serif;
  animation: popInModal 0.34s cubic-bezier(.7,0,.18,1);
}
@keyframes popInModal {
  from {transform: scale(0.92) translateY(32px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.35em;
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  color: #17315C;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
  padding: 6px;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #FFD77A;
  color: #17315C;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-modal .cookie-option label {
  margin-left: 10px;
  font-size: 1em;
  color: #17315C;
}
.cookie-modal .cookie-save-actions {
  display: flex;
  gap: 14px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #17315C;
  width: 18px;
  height: 18px;
}

/* --- Misc General Styles --- */
.subheadline {
  font-size: 1.18em;
  color: #224278;
  opacity: 0.94;
  margin-bottom: 22px;
}
::-webkit-input-placeholder { color: #6a819f; opacity: 1; }
::-moz-placeholder { color: #6a819f; opacity: 1; }
:-ms-input-placeholder { color: #6a819f; opacity: 1; }
::placeholder { color: #6a819f; opacity: 1; }
hr {
  border: 0;
  border-top: 1px solid #E9EAEE;
  margin: 32px 0;
}

/* --- Tables, Lists, Forms --- */
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px 0; }
th, td { padding: 8px 12px; border-bottom: 1px solid #e2e5ee; }
th { background: #F6F6F6; text-align: left; }
form input, form textarea, form select {
  border: 1px solid #ccd6e6;
  border-radius: 8px;
  padding: 11px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 14px;
  background: #fff;
  width: 100%;
  transition: border 0.16s;
}
form input:focus, form textarea:focus, form select:focus {
  border: 1.5px solid #17315C;
  outline: none;
  background: #fafdff;
}

/* --- Utilities --- */
.muted { color: #6a819f; opacity: 0.8; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-4 { margin-bottom: 32px; }
.hide { display: none !important; }

/* --- Custom --- */
.contact-form-info .cta.primary { margin-top: 12px; }
.cookie-banner a {
  color: #17315C;
  text-decoration: underline;
}
.cookie-banner a:hover { color: #224278; }

/* --- Print --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body { background: #fff !important; }
}

/* --- End of style.css --- */
