/* ====================== CSS RESET & BASE ======================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1A3A5C;
  background-color: #fff;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background: #F6F7F9;
}
img,svg { max-width: 100%; display: inline-block; vertical-align: middle; height: auto; }
a { color: #1A3A5C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #B05B00; }
h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3A5C;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
strong, b { font-weight: 700; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(26,58,92,0.04);
}
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
  gap: 16px;
}
p, ul, ol { font-size: 1.125rem; margin-bottom: 16px; color: #1A3A5C; }
ul, ol { padding-left: 24px; }
ul > li, ol > li { margin-bottom: 8px; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
table th, table td {
  border: 1px solid #E8EAF0;
  padding: 14px 10px;
  text-align: left;
}
table th { background:#F6F7F9; font-weight: bold; }

/* =========================== HEADER ============================ */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 10px 0 rgba(26,58,92,0.07);
  margin-bottom: 0;
  border-bottom: 1px solid #E8EAF0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 28px;
}
header a img {
  height: 48px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  display: inline-block;
  padding: 8px 0;
  border-radius: 6px;
  color: #1A3A5C;
  transition: color 0.2s, background 0.2s;
}
.main-nav a.cta-btn {
  color: #fff;
  background: #B05B00;
  padding: 10px 24px;
  border-radius: 8px;
  margin-left: 14px;
  font-weight: 700;
  box-shadow: 0 2px 4px 0 rgba(26,58,92,0.07);
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #E87B0E;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E87B0E;
  background: #F9F5F1;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3A5C;
  cursor: pointer;
  margin-left: 14px;
  z-index: 80;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E8EAF0;
}

/* ======================= MOBILE NAVIGATION ===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.72,.07,.24,.91);
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px 24px;
  box-shadow: 2px 0 24px 0 rgba(26,58,92,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A3A5C;
  margin: 24px 0 16px 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E8EAF0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 0;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A3A5C;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8EAF0;
  color: #B05B00;
}

/* Hide navigation on mobile, show hamburger */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================== HERO & PRIMARY CTA ======================= */
.cta-btn, a.cta-btn {
  background: #B05B00;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 10px 0 rgba(26,58,92,0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E87B0E;
  color: #fff !important;
  box-shadow: 0 6px 18px 0 rgba(26,58,92,0.11);
  text-decoration: none;
}

/* ========================= FLEX LAYOUTS ========================= */
.features-grid, .testimonials-grid, .card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.features-grid > div,
.testimonials-grid > div,
.card-container > div,
.content-grid > div {
  background: #F6F7F9;
  border-radius: 12px;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 250px;
  box-shadow: 0 2px 8px 0 rgba(26,58,92,0.04);
  transition: box-shadow 0.16s;
}
.features-grid > div:hover,
.card-container > div:hover {
  box-shadow: 0 6px 20px 0 rgba(26,58,92,0.09);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5F6F8;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(26,58,92,0.04);
  padding: 22px 18px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 22px 0 rgba(26,58,92,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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: #fff;
  color: #1A3A5C;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(26,58,92,0.08);
  margin-bottom: 20px;
  border: 1px solid #E8EAF0;
  min-width: 280px;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: #1A3A5C;
  font-size: 1.125rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-snippet {
  background: #F9F5F1;
  border-radius: 10px;
  padding: 20px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 6px 0 rgba(26,58,92,0.04);
}
.faq-snippet h3 { font-size: 1.1rem; margin-bottom: 8px; }

/* Contact Info */
.contact-info-short p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #1A3A5C;
  margin-bottom: 6px;
  font-weight: 400;
}
.contact-info-short img {
  width: 20px; height: 20px;
}

/* ======================== FOOTER ============================ */
footer {
  background: #fff;
  padding-top: 36px;
  position: relative;
}
footer section {
  background: transparent;
  margin: 0;
  padding: 0 20px 30px 20px;
  box-shadow: none;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #1A3A5C;
  letter-spacing: 0.01em;
  transition: color 0.2s, background 0.18s;
  border-radius: 6px;
  padding: 6px 10px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #F6F7F9;
  color: #B05B00;
}
.footer-contact p {
  font-size: 0.97rem;
  color: #4A627E;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand img {
  height: 40px;
}
.brand-color-band {
  width: 100%;
  height: 6px;
  border-radius: 8px;
  background: linear-gradient(90deg, #1A3A5C 33%, #E87B0E 66%, #B05B00 100%);
  margin-top: 12px;
  opacity: 0.56;
}
.footer-brand span {
  font-size: 1.05rem;
  color: #1A3A5C;
  font-weight: 500;
}

/* ===================== COOKIE BANNER & MODAL ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1200;
  background: #fff;
  border-top: 2px solid #E8EAF0;
  box-shadow: 0 -4px 16px 0 rgba(26,58,92,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(0.72,0.07,0.24,0.91);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  color: #1A3A5C;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #B05B00;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
  min-width: 115px;
}
.cookie-btn.secondary {
  background: #E8EAF0;
  color: #1A3A5C;
}
.cookie-btn.settings {
  background: #fff;
  border: 1.5px solid #B05B00;
  color: #B05B00;
  padding: 10px 18px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E87B0E;
  color: #fff;
  outline: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #d2dae6;
  color: #1A3A5C;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6F7F9;
  color: #B05B00;
}

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1221;
  inset: 0;
  background: rgba(26,58,92,0.22);
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E8EAF0;
  box-shadow: 0 10px 40px 0 rgba(26,58,92,0.13);
  max-width: 410px;
  width: 94vw;
  padding: 36px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1222;
  animation: modalAppear 0.3s cubic-bezier(.52,.14,.32,.95) 1;
}
@keyframes modalAppear {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .toggle-switch {
  width: 38px;
  height: 22px;
  background: #E8EAF0;
  border-radius: 11px;
  position: relative;
  flex-shrink: 0;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 38px;
  height: 22px;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #B05B00;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
  z-index: 1;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 19px;
  background: #E87B0E;
}
.cookie-modal .cookie-category[data-essential="true"] .toggle-switch {
  background: #dce0e7;
  pointer-events: none;
}
.cookie-modal .cookie-category[data-essential="true"] .toggle-slider {
  background: #E8EAF0;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 14px;
  background: none;
  border: none;
  color: #1A3A5C;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E8EAF0;
}

/* ===================== MICRO-INTERACTIONS ===================== */
.features-grid > div,
.testimonial-card,
.card, .cta-btn, .cookie-btn, .mobile-menu, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.22s, color 0.18s, transform 0.19s;
}

.features-grid > div:hover,
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 28px 0 rgba(26,58,92,0.10);
}

/* ======================== RESPONSIVE =========================== */
@media (max-width: 1023px) {
  section, .section {
    padding: 26px 10px;
    margin-bottom: 44px;
    border-radius: 0px;
  }
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.06rem; }
  .footer-brand img { height: 30px; }
}

@media (max-width: 768px) {
  .features-grid, .content-grid, .testimonials-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .card-container > div, .testimonials-grid > div, .testimonial-card {
    min-width: unset;
    width: 100%;
    padding: 16px 12px;
  }
  .card {
    padding: 16px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    padding: 0 0 10px 0;
  }
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 8px 14px 8px;
    font-size: 0.98rem;
    text-align: left;
    align-items: stretch;
  }
  .cookie-banner-actions {
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
  }
}

/* ======================== UTILITY CLASSES ======================= */
.d-none { display: none !important; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center !important; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }

/* ======================== END OF FILE ======================== */
