/* =======================
   CSS 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, 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, 
main, 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #274472;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #d9e7f1 100%);
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #274472;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover,
a:focus {
  color: #B10018;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* ===============================
   TYPOGRAPHY SCALE & HEADINGS
   =============================== */
h1 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  color: #274472;
}
h2 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #274472;
}
h3 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #274472;
}
h4, h5, h6 {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  color: #274472;
  font-weight: 500;
  margin-bottom: 12px;
}
p, .subheadline {
  margin-bottom: 18px;
  font-size: 1rem;
}
.subheadline {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  color: #B10018;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.25px;
}

/* ========================================
   GENERAL LAYOUT & SPACING CLASSES
   ======================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(39, 68, 114, 0.070);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 0px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(39, 68, 114, 0.13);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.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 {
  background: #F8F9FB;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(39, 68, 114, 0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #274472;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #274472;
  font-size: 1.1rem;
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}
.testimonial-card strong {
  color: #B10018;
}
.testimonial-card span {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  color: #FFB703;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================================
   HERO & CTA BUTTONS
   ======================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #274472 0%, #B10018 100%);
  color: #fff;
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 32px;
  border-radius: 28px;
  box-shadow: 0 2px 10px 0 rgba(39, 68, 114, 0.06);
  border: none;
  margin-top: 10px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.30s, box-shadow 0.22s, transform 0.18s;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #B10018 0%, #274472 100%);
  box-shadow: 0 4px 28px 0 rgba(39,68,114,0.12);
  transform: translateY(-2px) scale(1.035);
  outline: none;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  background: #fff;
  box-shadow: 0 3px 16px 0 rgba(39, 68, 114, 0.08);
  width: 100%;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-left: 26px;
}
header nav a {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #274472;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background .20s, color .23s;
}
header nav a:hover,
header nav a:focus {
  background: #EAEAEC;
  color: #B10018;
}
header .cta-button {
  margin-left: 20px;
}
header img {
  height: 46px;
  width: auto;
}

/* ========================================
   MOBILE BURGER MENU & OVERLAY
   ======================================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.0rem;
  color: #274472;
  cursor: pointer;
  display: none;
  margin-left: 16px;
  transition: color .22s;
  z-index: 112;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #B10018;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 0 999vw rgba(39,68,114,0.15);
  transform: translateX(100vw);
  transition: transform 0.34s cubic-bezier(.61,.02,.41,1.02);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 36px;
  padding-right: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #B10018;
  cursor: pointer;
  margin: 22px 30px 10px 0;
  align-self: flex-end;
  z-index: 999;
  transition: color .19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #274472;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 40px 32px 40px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  color: #274472;
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 12px 8px;
  border-radius: 9px;
  width: 100%;
  background: none;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFF2F8;
  color: #B10018;
}

/* ===================
   FOOTER STYLES
   =================== */
footer {
  background: #274472;
  color: #fff;
  padding: 34px 0 14px 0;
}
footer a {
  color: #fff;
  text-decoration: underline dashed #fff 1.5px;
  font-weight: 500;
  transition: color 0.18s;
}
footer a:hover {
  color: #FFB703;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
footer span {
  font-size: 0.93rem;
  opacity: 0.91;
}

/* ===============================
   SPECIAL FEATURED COMPONENTS
   =============================== */
.feature-grid, .service-grid, .team-grid, .value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(39, 68, 114, 0.045);
  padding: 26px 20px;
  margin-bottom: 20px;
  flex: 1 1 266px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.18s;
  border-left: 5px solid #B10018;
}
.feature:hover {
  box-shadow: 0 6px 24px 0 rgba(39,68,114,0.13);
  transform: translateY(-3px) scale(1.01);
}
.feature img {
  height: 38px;
  margin-bottom: 14px;
}
.service-grid > div, .team-grid > div, .value-grid > div {
  background: #F2F5F8;
  border-radius: 11px;
  padding: 24px 17px;
  min-width: 215px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(39, 68, 114, 0.045);
}
.team-grid > div {
  background: #fff;
  border-left: 4px solid #274472;
}

/* ====================
   ADDRESS & CONTACT
   ==================== */
.address-block, .address-brief {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 20px 0;
  align-items: center;
}
.address-block > div, .address-brief {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #274472;
}
.address-block img, .address-brief img {
  height: 28px;
  width: 28px;
}

/* ====================
   LISTS, FORMS, etc.
   ==================== */
ul, ol {
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 12px;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #274472;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 22px 18px;
  z-index: 2000;
  box-shadow: 0 -4px 18px 0 rgba(39,68,114,0.14);
  font-size: 1rem;
  gap: 20px;
  animation: cookieSlideIn 0.47s cubic-bezier(.75, .01, .5, 1.09);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0 14px 10px 0;
  flex: 2 1 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: #fff;
  color: #274472;
  transition: background .19s, color .17s, box-shadow .23s;
  margin-right: 5px;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #B10018 0%, #274472 100%);
  color: #fff;
}
.cookie-banner button.settings {
  background: #FFD6D4;
  color: #B10018;
}
.cookie-banner button.reject {
  background: #EAEAEA;
  color: #274472;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #D9D9D9;
  color: #B10018;
  outline: none;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 408px;
  background: #fff;
  color: #274472;
  z-index: 3200;
  padding: 34px 24px 24px 24px;
  border-radius: 26px;
  box-shadow: 0 8px 48px 0 rgba(39,68,114,0.17);
  transform: translate(-50%, -47%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s, transform .26s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.13rem;
  margin-bottom: 14px;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}
.cookie-modal li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  background: #EAEAEA;
  border-radius: 13px;
  display: inline-block;
  position: relative;
  transition: background .2s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #B10018;
  border-radius: 50%;
  transition: left .19s, background .16s;
}
.cookie-switch input:checked + span {
  left: 19px;
  background: #274472;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Lato', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: #FFD6D4;
  color: #B10018;
  margin-left: 5px;
}
.cookie-modal button.save {
  background: #274472;
  color: #fff;
}
.cookie-modal button.cancel {
  background: #EAEAEA;
  color: #274472;
}
.cookie-modal button:hover {
  opacity: .85;
}

/* ================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ================================ */
@media (max-width: 1110px) {
  header .container, footer .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .section {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .team-grid, .value-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 1.85rem;}
  h2 {font-size: 1.35rem;}
  h3 {font-size: 1.05rem;}
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    padding: 12px 16px;
    font-size: 0.97rem;
  }
  .feature-grid, .service-grid, .team-grid, .value-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .service-grid > div, .team-grid > div, .value-grid > div {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    margin-bottom: 18px;
  }
  .content-wrapper, .footer-contact {
    gap: 15px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  footer nav {
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }
  .address-block, .address-brief {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonial-card {
    padding: 13px 13px 13px 19px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 15px 7px;
  }
  .footer-contact br {display: none;}
}
@media (max-width: 480px) {
  h1 {font-size: 1.23rem;}
  h2 {font-size: 1.01rem;}
}

/* =================================
   MICRO-INTERACTIONS/TRANSITIONS
   ================================= */
.card, .feature, .service-grid > div, .testimonial-card, .team-grid > div, .value-grid > div {
  transition: box-shadow 0.18s, transform 0.14s, border .16s;
}
.cta-button, header nav a, .mobile-nav a, .cookie-banner button, .cookie-modal button {
  transition: background .22s, color .17s, box-shadow .19s, transform .16s;
}

/* ===============
   PRINT SUPPORT
   =============== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  main {
    padding-top: 0;
  }
}
