/* --- 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, main, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1.5; background: #F6F8FB; color: #153E5C; -webkit-font-smoothing: antialiased; }
av, footer, header, main, section, article { display: block; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select { font-family: inherit; font-size: 100%; }

/* --- BRAND VARIABLES (with fallbacks) --- */
:root {
  --primary: #153E5C;
  --secondary: #F6F8FB;
  --accent: #E2B13C;
  --gradient-1: linear-gradient(90deg, #153E5C 0%, #426997 100%);
  --gradient-2: linear-gradient(90deg, #F6F8FB 0%, #dbe5f1 100%);
  --gradient-btn: linear-gradient(90deg, #E2B13C 10%, #FFD87C 90%);
  --shadow-card: 0 4px 24px rgba(21, 62, 92, 0.08);
  --radius: 14px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 16px;
  background: var(--secondary);
  color: var(--primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.125rem; }
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #233d56;
}
strong, b { font-weight: 700; }

@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  p, body { font-size: 15px; }
}

/* --- SPACING & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.24s cubic-bezier(.69,.14,.41,.93);
}
.card:hover {
  box-shadow: 0 12px 36px rgba(21,62,92,0.16);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(21,62,92,0.07), 0 1px 4px rgba(21,62,92,0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  color: #153E5C;
  font-size: 1.05rem;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #233d56;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #153E5C;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  margin: 28px 0 8px 0;
  align-items: center;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #174e78;
}
@media (max-width: 870px) {
  .contact-details { gap: 14px 24px; }
}

/* --- FLEXBOX ADAPTATIONS FOR HTML CLASSES --- */
.feature-grid, .category-grid, .steps-visual ol, .service-card-list, .step-card-list, .faq-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .category-grid > div, .service-card-list > div, .step-card-list > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-list > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  transition: box-shadow .20s;
}
.faq-list > div:hover {
  box-shadow: 0 8px 30px rgba(21,62,92,0.10);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--gradient-btn);
  color: #153E5C;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 32px;
  font-size: 1.13rem;
  box-shadow: 0 1px 5px rgba(226,177,60,.11);
  cursor: pointer;
  transition: background 0.15s, transform 0.17s, box-shadow 0.19s;
  margin: 10px 0 0 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#FFD87C 10%, #E2B13C 90%);
  color: #123757;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 2px 14px rgba(226,177,60,.17);
  outline: none;
}
button, .btn-primary {
  outline: none;
}
/* Inline links */
a:not(.btn-primary) {
  color: #174e78;
  position: relative;
  transition: color .13s;
}
a:not(.btn-primary):hover,
a:not(.btn-primary):focus {
  color: #E2B13C;
}
a:not(.btn-primary)::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.17s;
}
a:not(.btn-primary):hover::after,
a:not(.btn-primary):focus::after {
  width: 100%;
}

/* --- HEADER / NAVIGATION --- */
header {
  background: var(--gradient-1);
  padding: 0;
  box-shadow: 0 1px 10px rgba(21,62,92,.08);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 18px;
  min-height: 72px;
}
header img {
  height: 44px;
  margin-right: 28px;
  min-width: 120px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 6px 4px;
  border-radius: 8px;
  transition: background .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(226,177,60,0.13);
  color: var(--accent);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  z-index: 120;
  transition: color 0.18s, background 0.09s;
}
.btn-primary {
  margin-left: 24px;
}
@media (max-width: 1100px) {
  header .container { padding: 0 10px; }
}
@media (max-width: 850px) {
  .main-nav { gap: 17px; }
  header .container { min-height: 62px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #153E5C;
  z-index: 2000;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(.76,.05,.27,1);
  box-shadow: 0 2px 18px rgba(21,62,92,0.15);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 22px 0 auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  position: relative;
  z-index: 2022;
  transition: color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 48px 32px 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.23rem;
  padding: 8px 0;
  width: 100%;
  border-radius: 7px;
  transition: background .14s, color .13s;
}
.mobile-nav a:active, .mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(226,177,60,0.17);
  color: var(--accent);
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO & SECTION BACKGROUNDS --- */
main > section:first-child,
.hero, .contact-cta {
  background: linear-gradient(85deg, #f6f8fb 60%, #e9eff7 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}

.contact-cta {
  background: linear-gradient(90deg,#e9eff7,#f6f8fb 60%);
}

/* --- SECTION STYLES --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 650px) {
  section {
    padding: 28px 0;
    margin-bottom: 40px;
  }
}
div.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* --- FORM ELEMENTS --- */
input[type="text"], select {
  background: #fff;
  border: 1.5px solid #dbe5f1;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #233d56;
  margin-bottom: 14px;
  min-width: 120px;
}
input[disabled], select[disabled] {
  opacity: 0.6;
  background: #fafcff;
  cursor: not-allowed;
}
label {
  font-size: 1.08rem;
  color: #153E5C;
  margin-bottom: 10px;
}
form > div {
  margin-bottom: 10px;
}

/* --- STEPS, OL/UL --- */
.steps-visual ol, .visual-steps ol {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
  flex: 1 1 350px;
  font-size: 1.04rem;
  color: #233d56;
  gap: 18px;
  counter-reset: cobalt-steps;
}
.steps-visual ol li, .visual-steps ol li {
  padding-left: 44px;
  margin-bottom: 12px;
  position: relative;
  font-size: 1.12rem;
  min-height: 34px;
}
.steps-visual ol li:before,
.visual-steps ol li:before {
  content: counter(cobalt-steps, decimal);
  counter-increment: cobalt-steps;
  font-family: var(--font-display);
  font-size: 1.2rem;
  background: var(--gradient-btn);
  color: #153E5C;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 2px 10px rgba(226,177,60,0.10);
}
@media (max-width: 650px) {
  .steps-visual ol, .visual-steps ol {
    padding: 22px 13px;
    font-size: 0.98rem;
  }
  .steps-visual ol li, .visual-steps ol li {
    padding-left: 34px;
    font-size: 1.01rem;
  }
  .steps-visual ol li:before,
  .visual-steps ol li:before {
    width: 22px;
    height: 22px;
    font-size: 1rem;
  }
}

ul {
  padding-left: 18px;
  margin-bottom: 18px;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1.07rem;
  padding-left: 26px;
}
ul li:before {
  content: '';
  background: var(--accent);
  width: 13px;
  height: 13px;
  display: inline-block;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}
/* Value icons */
ul > li > img {
  margin-right: 8px;
  vertical-align: top;
  width: 24px;
  height: 24px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  padding: 40px 0 20px 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 -1px 18px rgba(21,62,92,.08);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.01rem;
  border-radius: 7px;
  transition: background .15s, color .13s;
  padding: 5px 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: rgba(226,177,60,0.17);
  color: var(--accent);
}
footer span {
  font-size: 0.99rem;
  opacity: 0.80;
  margin-top: 9px;
  display: block;
}

/* --- RESPONSIVENESS / MOBILE FIRST --- */
@media (max-width: 1040px) {
  .container { max-width: 94vw; }
  .feature-grid, .category-grid, .testimonial-slider, .service-card-list, .step-card-list, .faq-list  {
    gap: 18px;
  }
  .feature-grid > div, .category-grid > div, .service-card-list > div, .step-card-list > div {
    min-width: 170px;
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .feature-grid, .category-grid, .testimonial-slider, .service-card-list, .step-card-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section {
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card {
    min-width: 0;
    padding: 16px 10px;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }
}
@media (max-width: 480px) {
  .btn-primary {
    padding: 11px 18px;
    font-size: 1rem;
  }
  header img { height: 32px; min-width: 72px; }
  header .container { min-height: 48px; }
  section { padding: 18px 0; }
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .category-grid > div, .service-card-list > div, .step-card-list > div, .faq-list > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .category-grid > div:hover, .service-card-list > div:hover, .step-card-list > div:hover, .faq-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(21,62,92,0.13);
  transform: translateY(-3px) scale(1.012);
}

.testimonial-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #153E5C 70%, #426997 100%);
  color: #fff;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  box-shadow: 0 -2px 18px rgba(21,62,92,0.13);
  font-size: 1rem;
  gap: 20px;
}
.cookie-banner p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner .btn-cookie, .btn-cookie {
  padding: 8px 26px;
  background: #F6F8FB;
  color: #153E5C;
  border: none;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, transform 0.14s;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--gradient-btn);
  color: #153E5C;
  transform: scale(1.04);
}
.btn-cookie.settings {
  background: transparent;
  color: #FFD87C;
  border: 1.5px solid #FFD87C;
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: #FFD87C;
  color: #153E5C;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 12px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions { gap: 8px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2150;
  background: rgba(21,62,92, 0.32);
  display: none;
  align-items: flex-end;
  justify-content: center;
  transition: background 0.22s;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 36px rgba(21,62,92,0.27);
  border-radius: 18px 18px 0 0;
  max-width: 98vw;
  width: 410px;
  padding: 38px 36px 28px 36px;
  margin-bottom: 2vh;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: slideInCookieModal 0.34s cubic-bezier(.87, .13, .26, 1);
}
@keyframes slideInCookieModal {
  from { transform: translateY(80vh); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #153E5C;
  margin-bottom: 2px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: var(--font-display);
  color: #153E5C;
  font-weight: 600;
  font-size: 1.09rem;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  width: 44px;
  height: 24px;
  background: #e4e9f1;
  border-radius: 13px;
  transition: background 0.24s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient-btn);
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  box-shadow: 0 1px 4px rgba(21,62,92,.13);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  padding-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  padding: 9px 26px;
  font-size: 1rem;
}
.cookie-modal .btn-cookie.reject {
  background: #e4e9f1;
  color: #153E5C;
}
.cookie-modal .btn-cookie.reject:hover,
.cookie-modal .btn-cookie.reject:focus {
  background: #FFD87C;
  color: #153E5C;
}
@media (max-width: 600px) {
  .cookie-modal {
    width: 95vw;
    padding: 24px 7vw 20px 7vw;
    max-width: 340px;
  }
}

/* --- MISC --- */
::-webkit-scrollbar {
  width: 7px;
  background: #e4e9f1;
}
::-webkit-scrollbar-thumb {
  background: #d2dde8;
  border-radius: 6px;
}
@media (max-width: 900px) {
  .footer-nav { gap: 16px; }
}

/* --- ACCESSIBILITY CONTRAST --- */
.testimonial-card, .faq-list > div {
  background: #fff !important;
  color: #153E5C !important;
}
.testimonial-card p, .faq-list > div p {
  color: #233d56 !important;
}

/* --- PRINT (optional) --- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
}
