/* RESET & BASE STYLES ======================================================= */
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, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, input, button, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { 
  line-height: 1.6;
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color 0.15s; }
ul, ol { list-style-position: inside; }
table { border-collapse: collapse; width: 100%; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* CUSTOM FONTS ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Roboto:wght@400;700&display=swap');

:root {
  --primary: #274472;
  --secondary: #E8EEF1;
  --accent: #F5A623;
  --on-primary: #fff;
  --on-secondary: #274472;
  --neutral: #222;
  --shadow: 0 2px 12px rgba(39,68,114,0.10);
  --radius: 18px;
  --transition: 0.2s cubic-bezier(.77,0,.175,1);
}

/* TYPOGRAPHY (MODERN BOLD) ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.5rem; /* 40px */ 
  line-height: 1.18;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem; /* 22px */
  line-height: 1.25;
}
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
p, li, dd {
  font-size: 1rem;
  color: var(--neutral);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
}
small {
  font-size: 0.88rem;
}
a { font-weight: 700; transition: color var(--transition); }
a:hover, a:focus { color: var(--accent); }

/* LAYOUT HELPERS ====================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* HEADER & NAVIGATION ================================================ */
header {
  background: var(--on-primary);
  border-bottom: 2px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(39,68,114,0.04);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
header img {
  height: 56px;
  margin-right: 32px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}
nav a {
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 0px;
  position: relative;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a:focus {
  color: var(--on-primary);
  background: var(--accent);
}
.cta.primary {
  background: var(--primary);
  color: var(--on-primary) !important;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.015em;
  font-size: 1.125rem;
  display: inline-block;
  box-shadow: var(--shadow);
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-left: 28px;
  margin-right: 0;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--accent);
  color: var(--on-primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(245,166,35,0.13);
}
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  box-shadow: var(--shadow);
  text-align: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 18px;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION & SLIDE MENU ====================================== */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background var(--transition), color var(--transition);
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
.mobile-menu {
  position: fixed;
  background: var(--on-primary);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 0 40px rgba(39,68,114,0.25);
  z-index: 1201;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1220;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--on-primary);
  outline: none;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  margin: 100px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 13px 0;
  border-radius: 8px;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--on-primary);
  background: var(--accent);
}

/* HERO SECTION ======================================================= */
.hero {
  background: linear-gradient(100deg, var(--secondary) 60%, var(--accent) 110%);
  border-radius: 0 0 40px 40px;
  min-height: 340px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 24px rgba(39,68,114,0.06);
  margin-bottom: 56px;
}
.hero .container {
  align-items: center;
  min-height: 340px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
  text-align: left;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(39,68,114,0.05);
}
.hero p {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 12px;
  max-width: 640px;
}

/* FEATURES ============================================================ */
.features-grid, .service-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  margin-bottom: 12px;
}
.features-grid > div {
  background: var(--secondary);
  border-radius: var(--radius);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 28px 22px 22px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}
.features-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 4px;
}
.features-grid h3 {
  color: var(--accent);
  font-size: 1.2rem;
}
.features-grid p {
  font-size: 1rem;
  color: var(--neutral);
}

.service-highlights ul {
  gap: 24px;
  padding: 0;
  flex-direction: row;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 12px;
  margin-top: 20px;
}
.service-highlights ul li {
  color: var(--on-primary);
  font-size: 1.1rem;
  padding: 12px 24px;
  letter-spacing: 0.03em;
}

/* SECTION SPACING (MANDATORY) ========================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 30px;
  flex: 1 1 240px;
  min-width: 220px;
}
.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;
  border-radius: var(--radius);
  padding: 20px 34px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
  min-width: 250px;
  max-width: 700px;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: var(--primary);
  font-style: italic;
}
.testimonial-card strong {
  color: var(--neutral);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  margin-left: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARDS ============================================================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TEXT CONTENT SECTIONS =============================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin-left: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.text-section h2, .text-section h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}
.text-section li {
  padding-left: 2px;
}
.text-section img {
  height: 1.15em;
  width: 1.15em;
  margin-right: 8px;
  vertical-align: -2px;
}

/* TABLES ============================================================== */
table {
  width: 100%;
  border: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}
main {
  word-break: break-word;
}
th, td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid var(--secondary);
  color: var(--primary);
}
th {
  background: var(--secondary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER ============================================================== */
footer {
  background: var(--primary);
  color: var(--on-primary);
  padding: 40px 0 0 0;
  margin-top: 48px;
  border-radius: 36px 36px 0 0;
}
footer p {
  color: white;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo img {
  width: 70px;
  height: auto;
  margin: 0 auto 12px auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: var(--on-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  padding: 6px 0;
  border-radius: 3px;
  letter-spacing: 0.02em;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(39,68,114,0.05);
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-contact {
  margin-top: 6px;
  color: var(--on-primary);
  font-size: 0.99rem;
  text-align: center;
}
.footer-legal {
  margin-top: 18px;
  text-align: center;
  color: var(--secondary);
  font-size: 0.93rem;
}

/* COOKIE CONSENT BANNER =============================================== */
.cookie-banner {
  position: fixed;
  z-index: 5000;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 28px 24px 24px 24px;
  box-shadow: 0 -2px 24px rgba(39,68,114,0.10);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: fadeInUp 0.42s;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(70px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 480px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--accent);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--on-primary);
  border: 1.5px solid var(--secondary);
}

/* COOKIE MODAL ======================================================= */
.cookie-modal {
  position: fixed;
  z-index: 5100;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(39,68,114,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(39,68,114,0.19);
  max-width: 420px;
  width: 85vw;
  padding: 38px 28px 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInUp 0.3s;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--primary);
  color: var(--on-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 16px;
  background: var(--secondary);
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transition: left 0.13s;
}
.cookie-toggle input:checked + span {
  left: 21px;
  background: var(--primary);
}
.cookie-category.essential label {
  opacity: 0.62;
  font-style: italic;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.64;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* FAQ DL QUESTIONS (BOLD) ============================================ */
dl {
  margin-top: 12px;
  padding: 0;
}
dt {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 20px;
}
dd {
  margin-left: 0;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* UTILITY SPACING ==================================================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* ANIMATIONS ========================================================= */
.fade-in {
  animation: fadeIn 0.4s;
}

/* MICRO-INTERACTIONS ================================================ */
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(245,166,35,0.08), 0 2px 12px rgba(39,68,114,0.08);
  transform: translateY(-2px) scale(1.01);
  transition: box-shadow 0.17s, transform 0.17s;
}

/* RESPONSIVE: MOBILE-FIRST =========================================== */
@media (max-width: 1000px) {
  .content-wrapper {
    max-width: 94vw;
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 96vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    max-width: 100vw;
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 10px; min-height: 70px; }
  header img { height: 42px; margin-right: 12px; }
  nav {
    display: none !important;
  }
  .cta.primary {
    padding: 10px 17px;
    font-size: 1.02rem;
    margin-left: 5px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    min-height: 220px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 1.43rem;
  }
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    min-width: unset;
    width: 100%;
    padding: 22px 17px 19px 17px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px 16px;
    border-left-width: 3.5px;
    min-width: unset;
    max-width: 100%;
  }
  .footer-logo img {
    width: 50px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 5px;
  }
  .card { padding: 14px 14px; }
  th, td { padding: 9px 6px; font-size: 0.96rem; }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px;
  }
  .mobile-nav {
    margin: 74px 0 0 0;
    gap: 10px;
    padding-left: 22px;
  }
  .mobile-nav a { font-size: 1.08rem; }
  .footer-nav {
    gap: 10px;
  }
  footer .container { gap: 12px; padding-bottom: 12px; }
  
  /* Cookie banner mobile */
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 8px 14px 8px;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 2px;
  }
  .cookie-banner__text {
    font-size: 0.98rem;
  }
  .cookie-modal__box {
    padding: 24px 9px 18px 15px;
    gap: 12px;
    max-width: 96vw;
  }
  .cookie-modal__close {
    top: 13px;
    right: 14px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* ACCESSIBILITY FOCUSES ============================================== */
a:focus, button:focus, .cta.primary:focus, .cookie-btn:focus, .cookie-modal__close:focus {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
}

/* GEOMETRIC ELEMENTS & MODERN-BOLD DETAILS =========================== */
.hero, .features-grid > div, .card, .testimonial-card, .cookie-modal__box {
  border-radius: var(--radius);
}

/* Other micro-interactions (tables, footer, etc) */
table tbody tr:hover {
  background: var(--secondary);
}

/* HIDE MOBILE MENU BY DEFAULT ON DESKTOP */
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  nav { display: flex !important; }
}

/* PRINT/SELECTION COLORS ============================================= */
::selection {
  background: var(--accent);
  color: var(--on-primary);
}
