/* ===== CSS RESET AND 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1B3F5E;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1B3F5E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-top: 12px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 8px;
}

/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #1B3F5E;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.625rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 16px; font-weight: 600; }
h4 { font-size: 1.125rem; }
p, li, dl, address, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
strong { font-weight: 600; }
header, footer {
  font-size: 1rem;
}

/* ===== LAYOUT CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(27,63,94,0.07);
  border-bottom: 2px solid #F4B94211;
}
header .container {
  min-height: 68px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
header nav a {
  padding: 8px 10px;
  color: #1B3F5E;
  font-weight: 600;
  border-radius: 4px;
  transition: background .15s, color .15s;
}
header nav a:hover, header nav a:focus {
  background: #F4B94222;
  color: #F4B942;
}
.cta-btn {
  background: #1B3F5E;
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background .18s, box-shadow .18s, color .18s;
  box-shadow: 0 2px 8px rgba(27,63,94,0.06);
  margin-left: 18px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4B942;
  color: #1B3F5E;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 111;
  background: #1B3F5E;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(27,63,94,0.08);
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #113056;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1B3F5E;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.76,.06,.24,.96);
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 24px; top: 24px;
  background: transparent;
  color: #F4B942;
  border: none;
  font-size: 2.2rem;
  z-index: 2200;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  gap: 28px;
}
.mobile-nav a {
  color: #fff;
  background: transparent;
  font-size: 1.2rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background .17s, color .17s;
  width: 80vw;
  max-width: 330px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B942;
  color: #1B3F5E;
}

@media (max-width: 1023px) {
  header .container {
    flex-direction: row;
    gap: 16px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== MAIN LAYOUT SPACING & FLEXBOX ===== */
main {
  margin-bottom: 60px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(27,63,94,0.04);
}
section.hero {
  background: linear-gradient(90deg,#1B3F5E 87%,#F4B94211 100%);
  box-shadow: none;
  color: #fff;
  margin-bottom: 0;
  padding-top: 48px;
  padding-bottom: 48px;
}
section.hero h1,
section.hero p {
  color: #fff;
}

.content-wrapper, .feature-grid, .services-list, .service-steps, .testimonial-list,
.product-list-grid, .service-benefits, .cta-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-wrapper {
  flex-direction: column;
  align-items: flex-start;
}
.feature-grid {
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #F7FAFE;
  border-radius: 13px;
  box-shadow: 0 2px 6px rgba(27,63,94,0.07);
  padding: 24px 18px 18px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list > div {
  background: #F7FAFE;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(27,63,94,0.05);
  padding: 20px 16px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.services-list span {
  color: #F4B942;
  font-weight: 700;
  font-size: 1rem;
}
.service-steps {
  flex-direction: column;
  gap: 12px;
  background: #F7FAFE;
  padding: 18px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.service-steps ol {
  padding-left: 28px;
}
.product-list-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.product-list-grid > div {
  background: #F7FAFE;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(27,63,94,0.04);
  padding: 22px 16px 18px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.text-section {
  margin-top: 22px;
  margin-bottom: 16px;
}
.text-section h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0 0 0;
  color: #1B3F5E;
  font-weight: 600;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  box-shadow: 0 2px 8px rgba(27,63,94,0.06);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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,
  .feature-grid { flex-direction: column; gap: 20px; }
  .product-list-grid { flex-direction: column; gap: 20px; }
}

/* ===== TESTIMONIALS ===== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #1B3F5E;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(27,63,94,0.07);
  border-left: 4px solid #F4B942;
  min-width: 220px;
}
.testimonial-card p {
  color: #1B3F5E;
  font-weight: 500;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: #6D86A0;
  font-size: 0.97rem;
  font-weight: 600;
}
.testimonial-card img {
  height: 18px;
  width: 18px;
  display: inline-block;
  margin-right: 2px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #1B3F5E;
  color: #fff;
  border-radius: 16px;
  padding: 44px 20px;
  box-shadow: 0 4px 28px rgba(27,63,94,0.08);
  margin-top: 40px;
  margin-bottom: 52px;
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #f2f6fb;
}
.cta-section .cta-btn {
  margin-top: 20px;
}

/* ===== TABLES / DATA ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(27,63,94,0.05);
  overflow: hidden;
  margin-top: 8px;
}
thead tr {
  background: #E8F0F8;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #253548;
  border-bottom: 1px solid #d6e0ef;
}
th {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  color: #1B3F5E;
}
table caption {
  margin-bottom: 8px;
  font-weight: bold;
  color: #1B3F5E;
  caption-side: top;
  text-align: left;
}
tr:last-child td {
  border-bottom: none;
}

/* ===== ADDRESS & FOOTER ===== */
address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  color: #6D86A0;
  font-size: 0.98rem;
}
address img {
  width: 17px;
  height: 17px;
  margin-right: 4px;
  vertical-align: middle;
}
footer {
  background: #F7FAFE;
  padding: 40px 0 24px 0;
  border-top: 2px solid #E8F0F8;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
footer nav a {
  color: #1B3F5E;
  font-weight: 600;
  font-size: 1rem;
  transition: color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4B942;
}
.footer-copy {
  color: #9dadbe;
  font-size: 0.97rem;
  margin-top: 16px;
}

/* ===== POLICY TEXT ===== */
.policy-text {
  background: #F7FAFE;
  padding: 30px 22px;
  border-radius: 11px;
  box-shadow: 0 2px 6px rgba(27,63,94,0.05);
  margin-bottom: 20px;
}
.policy-text ul, .policy-text ol {
  margin-left: 12px;
}

/* ===== FORMS & DL ===== */
dt {
  font-weight: bold;
  color: #1B3F5E;
  margin-top: 10px;
}
dd {
  margin-bottom: 7px;
  margin-left: 0px;
}

/* ===== TRANSITIONS & MICRO-INTERACTIONS ===== */
button, .cta-btn, input[type="submit"] {
  transition: background .2s, color .2s, box-shadow .2s, border .2s;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1B3F5E;
  color: #fff;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 16px 19px 16px;
  box-shadow: 0 -2px 14px rgba(27,63,94,0.11);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  transition: transform .4s cubic-bezier(.71,.26,.24,.94), opacity .3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner button {
  margin-left: 8px;
  margin-top: 4px;
  min-width: 108px;
}
.cookie-btn-accept {
  background: #F4B942;
  color: #1B3F5E;
  border-radius: 7px;
  border: none;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #ffe083;
  color: #1B3F5E;
}
.cookie-btn-reject {
  background: #fff;
  color: #1B3F5E;
  border-radius: 7px;
  border: none;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #E8F0F8;
  color: #F4B942;
}
.cookie-btn-settings {
  background: transparent;
  color: #F4B942;
  border: none;
  padding: 10px 14px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 8px;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #F4B94222;
  color: #1B3F5E;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(27, 63, 94, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 24px 28px;
  max-width: 440px;
  width: 90vw;
  box-shadow: 0 8px 40px 0 rgba(27,63,94,0.2);
  color: #1B3F5E;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #1B3F5E;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #E8F0F8;
}
.cookie-category:last-child {
  border-bottom: 0;
}
.cookie-category label {
  font-weight: 600;
  color: #1B3F5E;
}
.cookie-toggle {
  width: 38px; height: 22px;
  appearance: none;
  background: #E8F0F8;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #F4B942;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-category .always {
  background: #F4B942;
  color: #1B3F5E;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  margin-left: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .product-list-grid, .services-list {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section, section {
    padding: 25px 6px;
    border-radius: 10px;
    margin-bottom: 42px;
  }
  .container {
    padding: 0 8px;
  }
  header .container {
    min-height: 54px;
    padding: 8px 4px 8px 10px;
  }
  .cta-section {
    padding: 28px 7px;
    border-radius: 10px;
  }
  .feature-grid > div, .services-list > div, .product-list-grid > div, .testimonial-card {
    padding: 14px 9px;
    min-width: 0;
    border-radius: 8px;
    font-size: 1rem;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #E8F0F8;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}

/*** HOVERS, SHADOWS, RADIUS, MICRO-INTERACTIONS ***/
.feature-grid > div:hover, .services-list > div:hover, .product-list-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px 2px rgba(27,63,94,0.12);
  transform: translateY(-2px) scale(1.01);
  transition: box-shadow .25s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(27,63,94,0.13);
  transition: box-shadow .23s;
}

/* ===== Z-INDEX LAYERING ===== */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1001;
}
.cookie-banner {
  z-index: 3000;
}
.cookie-modal {
  z-index: 4000;
}

/* ===== A11Y: FOCUS RING ===== */
a:focus, button:focus, input:focus, .cta-btn:focus {
  outline: 2px solid #F4B942;
  outline-offset: 1px;
}

/* ===== UTILITIES ===== */
.hide { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
}

/* ===== GENERAL BUTTON STYLE ===== */
button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  background: #1B3F5E;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
}
button:hover, button:focus {
  background: #F4B942;
  color: #1B3F5E;
}

/* ===== SELECTION ===== */
::selection {
  background: #F4B942;
  color: #1B3F5E;
}

/* ===== PRINT FRIENDLY (OPTIONAL) ===== */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  section, main, .container {
    box-shadow: none !important;
    background: #fff !important;
    color: #1B3F5E !important;
  }
}
