/* -------------------- CSS RESET & BASE -------------------- */
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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F6F8;
  color: #15335C;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, .cta-btn {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* -------------------- BRAND VARIABLE FALLBACKS (not custom properties for max support) -------------------- */
/* BRAND COLORS: primary #15335C, secondary #FFBD1F, accent #F4F6F8 */

/* -------------------- TYPOGRAPHY -------------------- */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #15335C;
  margin-bottom: 16px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #15335C;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #15335C;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #15335C;
  font-weight: 500;
}
p, ul li, ol li, dl, dd, dt {
  font-size: 1rem;
  color: #13304f;
  line-height: 1.6;
}
strong {
  font-weight: bold;
}

.price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFBD1F;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
}

/* -------------------- SPACING & LAYOUT UTILS -------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(21, 51, 92, 0.03);
  transition: box-shadow .25s;
}
.section:hover {
  box-shadow: 0 8px 32px rgba(21, 51, 92, 0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(21,51,92,0.04);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .22s, transform .22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(21,51,92,0.10);
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F4F6F8;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(21,51,92,0.09);
  padding: 20px;
  margin-bottom: 24px;
}
.testimonial-card p {
  color: #15335C;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: .98rem;
  color: #666B80;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 0 0;
}

/* -------------------- HERO -------------------- */
.hero {
  padding: 60px 0 60px 0;
  background: #fff;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 1px 16px rgba(21,51,92,0.05);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #15335C;
}
.hero p {
  font-size: 1.17rem;
  color: #324266;
}

/* -------------------- NAVIGATION -------------------- */
header {
  background: #fff;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1002;
  box-shadow: 0 2px 14px rgba(21,51,92,0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  padding: 0;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  color: #15335C;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F4F6F8;
  color: #FFBD1F;
}
.cta-btn {
  display: inline-block;
  color: #fff;
  background: #15335C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(21,51,92,0.06);
  transition: background .25s, transform .14s, box-shadow .18s;
  margin-left: 18px;
  letter-spacing: 0.5px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFBD1F;
  color: #13304f;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 36px rgba(255,189,31,0.13);
}
.cta-btn.secondary {
  background: #fff;
  color: #15335C;
  border: 1.5px solid #15335C;
  box-shadow: 0 2px 4px rgba(21,51,92,0.06);
}
.cta-btn.secondary:hover {
  background: #15335C;
  color: #fff;
}

/* -------------------- MOBILE NAVIGATION -------------------- */
.mobile-menu-toggle {
  display: none;
  background: #F4F6F8;
  color: #15335C;
  font-size: 2rem;
  border-radius: 7px;
  padding: 7px 16px;
  transition: background .22s, color .2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  outline: 2px solid #15335C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(102%);
  transition: transform .36s cubic-bezier(.46,.03,.52,.96);
  z-index: 1100;
  box-shadow: 0 6px 36px rgba(21,51,92,0.19);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  padding: 16px 24px 4px 0;
  color: #15335C;
  background: none;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background .18s, color .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F4F6F8;
  color: #FFBD1F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #15335C;
  padding: 12px 0;
  width: 100%;
  transition: color .21s, background .14s;
  border-radius: 7px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFBD1F;
  background: #F4F6F8;
}

/* -------------------- SERVICE & FEATURE LISTS -------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 2px 8px rgba(21,51,92,0.04);
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .22s, transform .13s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 24px rgba(21,51,92,0.13);
  transform: translateY(-1px) scale(1.01);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-list li, .service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(21,51,92,0.04);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .21s, transform .13s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.service-list li:hover, .service-card:hover {
  box-shadow: 0 8px 32px rgba(21,51,92,0.09);
  transform: scale(1.013);
}

/* -------------------- TEXT SECTIONS & DL/ULs -------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  list-style: disc inside;
  margin-left: 18px;
  margin-top: 5px;
>
.text-section li {
  margin-bottom: 8px;
}
.text-section p {
  color: #15335C;
  font-size: 1.04rem;
}
dt {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 20px;
  font-size: 1.01rem;
  color: #15335C;
}
dd {
  margin: 0 0 12px 8px;
  color: #324266;
  font-size: 0.98rem;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: #fff;
  border-top: 1px solid #EBF0F6;
  padding: 36px 0 16px 0;
}
footer .container {
  max-width: 1180px;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand img {
  width: 50px;
  height: auto;
}
.footer-nav, .footer-legal, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a, .footer-legal a {
  font-size: .98rem;
  color: #13304f;
  border-radius: 4px;
  padding: 2px 0;
  transition: color .13s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #FFBD1F;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  display: block;
}

.footer-contact strong {
  color: #15335C;
}

/* -------------------- COOKIE CONSENT BANNER & MODAL -------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(21,51,92,0.10);
  padding: 28px 22px 18px 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: bannerIn .38s cubic-bezier(.55,0,.32,1);
}
@keyframes bannerIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #15335C;
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  outline: none;
  margin: 0 3px;
  cursor: pointer;
  background: #15335C;
  color: #fff;
  transition: background .18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFBD1F;
  color: #13304f;
}
.cookie-btn.secondary {
  background: #fff;
  color: #15335C;
  border: 1.5px solid #15335C;
}
.cookie-btn.secondary:hover {
  background: #F4F6F8;
  color: #15335C;
}

/* Cookie modal overlay and dialog */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21,51,92,0.15);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayIn .35s cubic-bezier(.58,0,.32,1);
}
@keyframes overlayIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 20px;
  border-radius: 16px;
  max-width: 420px;
  min-width: 270px;
  width: 94vw;
  box-shadow: 0 8px 48px rgba(21,51,92,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideIn .34s cubic-bezier(.47,0,.53,1);
}
@keyframes modalSlideIn {
  0% { transform: translateY(22%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #15335C;
}
.cookie-modal .category-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.category-toggle input[type="checkbox"] {
  margin-right: 6px;
  accent-color: #15335C;
}
.cookie-modal .category-toggle input[disabled] {
  opacity: 0.6;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* -------------------- RESPONSIVENESS -------------------- */
@media (max-width: 990px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 880px) {
  .footer .content-wrapper {
    gap: 24px;
    flex-wrap: wrap;
  }
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 780px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 32px 0; }
}
@media (max-width: 768px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .footer .content-wrapper, .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start !important;
  }
  .feature-grid, .service-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: .98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section {
    padding: 30px 5px;
    margin-bottom: 36px;
  }
}
@media (max-width: 480px) {
  .content-wrapper, .footer .content-wrapper, .section {
    gap: 12px;
  }
  .hero h1 { font-size: 1.45rem; }
  .section { padding: 16px 3px; }
}

/* -------------------- ANIMATIONS / MICROINTERACTIONS -------------------- */
a,
.cta-btn,
button,
.mobile-menu-toggle,
.mobile-menu-close,
.footer-nav a,
.footer-legal a {
  transition: background .22s, color .18s, box-shadow .16s, transform .13s;
}

.service-card .cta-btn,
.service-list li .cta-btn {
  margin-top: 12px;
  min-width: 120px;
}

/* -------------- Accessibility / Focus ------------------- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #FFBD1F;
  outline-offset: 1.5px;
}

/* ----------- Miscellaneous ------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #EBF0F6;
  border-radius: 24px;
}

hr {
  border: none;
  border-top: 1px solid #EBF0F6;
  margin: 24px 0;
}

/* Custom selection color for brand */
::selection {
  background: #FFBD1F;
  color: #15335C;
}

/* Hide elements with .hidden (for JS-driven overlays etc) */
.hidden {
  display: none !important;
}
