/* =============================
   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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F7F9FB;
  color: #232c3b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.42,0,.58,1);
}
a:hover, a:focus {
  color: #E63946;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1B263B;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; }
.subtitle { color: #41506b; font-size: 1.125rem; margin-bottom: 20px; font-weight: 400; }

/* ===============================
   LAYOUT STRUCTURE & CONTAINERS
   =============================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgb(27 38 59 / 4%);
}
@media (max-width: 992px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .section { padding: 18px 0; margin-bottom: 32px; }
}

/* ============================
   HEADER & NAVIGATION
   ============================ */
header {
  background: #1B263B;
  padding: 0 0 0 0;
  box-shadow: 0 2px 6px rgb(27 38 59 / 10%);
  position: relative;
  z-index: 70;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav > a img {
  height: 42px;
  margin-right: 28px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav li a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #E0E1DD;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav li a.active,
.main-nav li a:hover, .main-nav li a:focus {
  background: #E0E1DD;
  color: #1B263B;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-flex;
  align-items: center;
  background: #E63946;
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  padding: 11px 30px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 3px 20px rgb(230 57 70 / 10%);
  transition: background 0.2s, transform 0.15s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B2222B;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 24px rgb(27 38 59 / 13%);
}

/* ================
   MOBILE NAV MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px; right: 24px;
  z-index: 120;
  width: 44px; height: 44px;
  background: rgba(27,38,59,0.93);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgb(27 38 59 / 15%);
  transition: background 0.19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E63946;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(27,38,59, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.54,.01,.46,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  margin-top: 32px;
  padding-left: 44px;
}
.mobile-nav a {
  color: #E0E1DD;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  padding: 12px 0 12px 18px;
  border-radius: 5px;
  width: 80%;
  transition: background 0.16s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0E1DD;
  color: #1B263B;
}

@media (max-width: 1150px) {
  .main-nav ul {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav ul { gap: 9px; }
}
@media (max-width: 820px) {
  .main-nav ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding-right: 46px;
  }
}
@media (max-width: 600px) {
  header .container { min-height: 56px; }
  .mobile-menu {
    padding-top: 0;
  }
}

/* ========================
   SECTION/CARDS/FLEX LAYOUTS
   ======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgb(27 38 59 / 7%);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid { flex-direction: column; gap: 16px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F4F8FC;
  border: 1px solid #C7CEDF;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgb(27 38 59 / 11%);
  padding: 20px;
  margin-bottom: 20px;
  color: #1B263B;
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: #232c3b;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #43506c;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}
.features-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 180px;
  max-width: 330px;
  background: #F2F4F7;
  border-radius: 12px;
  padding: 24px 19px 19px 19px;
  box-shadow: 0 1px 10px rgb(83 97 123 / 8%);
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
}
.features-list li img {
  height: 38px; width: 38px; object-fit: contain;
  margin-bottom: 8px;
}
.features-list li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B263B;
  font-size: 1.12rem;
}
.features-list li span {
  color: #41506b;
  font-size: 1rem;
}
.features-list li:hover, .features-list li:focus-within {
  box-shadow: 0 5px 22px rgb(27 38 59 / 16%);
  border: 1.1px solid #B7C3D7;
}
@media (max-width: 900px) {
  .features-list { gap: 20px; }
}
@media (max-width: 768px) {
  .features-list {
    flex-direction: column;
    gap: 10px;
  }
}

.category-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
  background: #F2F4F7;
  border-radius: 8px;
  padding: 12px 20px;
}
.category-filters p { color: #41506b; font-size: 1.05rem; }
@media (max-width: 680px) {
  .category-filters {
    flex-direction: column;
    gap: 12px;
    padding: 10px 10px;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.faq-list h3 { color: #1B263B; font-size: 1.12rem; }
.faq-list p { color: #41506b; }

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-placeholder {
  background: #DFE9F6;
  color: #7D8899;
  text-align: center;
  padding: 18px;
  border-radius: 10px;
  margin-top: 12px;
  font-style: italic;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #1B263B;
  color: #E0E1DD;
  padding: 36px 0 26px 0;
  margin-top: 44px;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}
.footer-nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-nav li a {
  color: #E0E1DD;
  font-size: 0.97rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 9px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav li a:hover, .footer-nav li a:focus {
  background: #E0E1DD;
  color: #1B263B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-contact img {
  height: 38px; margin-bottom: 8px;
}
.footer-contact address {
  font-size: 0.97rem;
  font-style: normal;
  color: #E0E1DD;
  text-align: right;
}
.footer-contact a {
  color: #E63946;
  word-break: break-all;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-contact { align-items: flex-start; text-align: left; }
}
@media (max-width: 600px) {
  footer { padding: 24px 0 14px 0; font-size: 0.99em; }
  .footer-nav ul { gap: 9px; flex-wrap: wrap; }
}

/* =============================
   BUTTONS & FORMS
   ============================= */
button, [type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 26px;
  background: #1B263B;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(27 38 59 / 9%);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  margin: 7px 0;
}
button:hover, button:focus, [type="submit"]:hover, [type="submit"]:focus {
  background: #E63946;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1.1px solid #BBC6DF;
  background: #FAFBFF;
  margin-bottom: 13px;
  outline: none;
  transition: border 0.19s;
}
input:focus, textarea:focus {
  border-color: #1B263B;
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #F2F6FD;
  color: #1B263B;
  box-shadow: 0 -3px 32px rgb(27 38 59 / 21%);
  z-index: 4010;
  padding: 22px 28px 22px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.04rem;
  animation: fadein-banner 0.7s cubic-bezier(.5,0,.5,1);
}
@keyframes fadein-banner {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  padding: 10px 18px;
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: 0 1px 8px rgb(27 38 59/9%);
  background: #1B263B;
  color: #fff;
  border: none;
  transition: background 0.19s, color 0.18s;
}
.cookie-banner button.accept {
  background: #2C4773;
}
.cookie-banner button.reject {
  background: #E63946;
}
.cookie-banner button.settings {
  background: #BBC6DF;
  color: #1B263B;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #B2222B;
  color: #fff;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    font-size: 0.99rem;
    padding: 13px 7px;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-end;
    gap: 13px;
  }
}
.cookie-modal {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 5000;
  background: rgba(27,38,59,0.70);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.5s;
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1B263B;
  border-radius: 14px;
  box-shadow: 0 6px 36px rgb(27 38 59 / 38%);
  max-width: 420px;
  width: 92vw;
  padding: 33px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  animation: popin-cm 0.36s cubic-bezier(.46,1.29,.66,1.32);
}
@keyframes popin-cm {
  from { transform: scale(.87); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: #1B263B;
  margin-bottom: 6px;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #273251;
}
.cookie-category .toggle-switch {
  display: flex;
  align-items: center;
}
.toggle-switch input[type="checkbox"] {
  display: none;
}
.toggle-switch .slider {
  width: 36px; height: 20px;
  background: #C6D8F0;
  border-radius: 17px;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.toggle-switch .slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgb(27 38 59 / 13%);
  transition: transform 0.19s;
}
.toggle-switch input[type="checkbox"]:checked + .slider {
  background: #1B263B;
}
.toggle-switch input[type="checkbox"]:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal-content .cookie-modal-actions {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal-content .cookie-modal-actions button {
  min-width: 90px;
  font-size: 1rem;
  padding: 10px 19px;
  border-radius: 7px;
}
.cookie-modal-content .cookie-modal-actions button.accept{
  background: #2C4773;
}
.cookie-modal-content .cookie-modal-actions button.reject{
  background: #E63946;
}
.cookie-modal-content .cookie-modal-actions button.close{
  background: #f1f2f6;
  color: #495166;
  box-shadow: none;
  margin-right: auto;
}
.cookie-modal-content .cookie-modal-actions button:hover, .cookie-modal-content .cookie-modal-actions button:focus {
  background: #B2222B;
  color: #fff;
}
@media (max-width: 550px) {
  .cookie-modal-content { padding: 15px 6px 17px 8px; max-width: 97vw; }
}
/* Essential cookie cannot toggle */
.cookie-category.essential label { color: #6a7586; }
.cookie-category.essential .toggle-switch .slider {
  background: #E0E1DD !important;
  pointer-events: none;
}

/* ====================
   MICROINTERACTIONS
   ==================== */
.card, .features-list li, .testimonial-card, .cookie-banner, .cta-btn, button {
  transition: box-shadow 0.19s, border 0.2s, transform 0.15s, background 0.18s, color 0.18s;
}
.card:hover, .card:focus, .features-list li:focus-within, .testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px rgb(27 38 59 / 22%);
  transform: translateY(-2px) scale(1.02);
}

/* ================
   TYPOGRAPHY SCALE
   ================ */
body, p, ul, li, ol { font-size: 16px; }
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  body, p, ul, li, ol { font-size: 15px; }
  .subtitle { font-size: 1rem; }
}

/* ============
   UTILITIES
   ============ */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mr-20 { margin-right: 20px !important; }
.pl-10 { padding-left: 10px; }

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  left: -14999px;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ======================
   SELECTION & INTERFACE
   ====================== */
::selection { background: #C7CEDF; color: #1B263B; }

/* Accessibility: Focus visible styling */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #E63946 !important;
  outline-offset: 2px !important;
}

/* ============
   SCROLLBAR
   ============ */
::-webkit-scrollbar {
  width: 10px;
  background: #E0E1DD;
}
::-webkit-scrollbar-thumb {
  background: #BBC6DF;
  border-radius: 8px;
}

/* ==========================
   END OF STYLE.CSS FILE
   ========================== */
