/* --- CSS RESET & BASE --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #111;
  background: #fafafb;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153E75;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-top: 12px;
  margin-bottom: 12px;
}
li {
  margin-bottom: 6px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width:768px) {
  section { padding: 28px 8px; margin-bottom: 36px; }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 1.875rem; line-height: 1.22; margin-bottom: 14px; }
h3 { font-size: 1.25rem; line-height: 1.22; margin-bottom: 10px; }
p, address, ul, ol, li, blockquote { font-size: 1rem; color: #232323; }

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  background: #f4f4f9;
  color: #222;
  border-left: 4px solid #153E75;
  padding: 14px 26px 14px 18px;
  margin: 0 0 8px 0;
}

strong { font-weight: bold; color: #111; }

.text-section a { color: #153E75; text-decoration: underline dotted; }
.text-section a:hover { color: #111; text-decoration: underline; }

@media (max-width:600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid, .testimonials-list, .footer-links, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.features-grid {
  justify-content: flex-start;
  align-items: stretch;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 15px rgba(17,17,17,0.07);
  transition: box-shadow 0.26s;
  padding: 20px 20px 18px 20px;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(30,30,30,0.18);
}

.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; gap: 20px; }
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: #f4f4f9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  padding: 28px 20px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 210px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 20px;
  border: 1.5px solid #e6e6e6;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.feature-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 3px;
  filter: grayscale(30%) contrast(120%);
}
.feature-card:hover {
  background: #fff;
  border-color: #153E75;
  box-shadow: 0 6px 24px rgba(21,62,117,0.10);
}
.feature-card h3 {
  font-size: 1.1rem;
  color: #153E75;
}
.feature-card p {
  color: #232323;
  font-size: 0.97rem;
}

.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 6px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  background: #fff;
  border-left: 5px solid #153E75;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(50,50,50,0.08);
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 440px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  color: #1a1a1a;
  font-size: 1.06rem;
  margin-bottom: 5px;
  padding-left: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #333;
  white-space: wrap;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  margin-left: 0;
}
@media (max-width:900px) {
  .features-grid, .testimonials-list {
    gap: 18px;
    justify-content: flex-start;
  }
}
@media (max-width:600px) {
  .features-grid, .card-container, .testimonials-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-card, .testimonial-card {
    max-width: 100%; min-width: 0;
    padding-left: 14px; padding-right: 14px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(21,62,117,0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 0;
}
.logo img {
  height: 36px; width: auto;
  filter: grayscale(100%) contrast(120%);
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #153E75;
  border-bottom: 2px solid #153E75;
  outline: none;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #111;
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 30px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 16px rgba(21,62,117,0.10);
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, border 0.15s;
  border: 2px solid #111;
  text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
  background: #153E75;
  color: #fff;
  border-color: #153E75;
  box-shadow: 0 4px 26px rgba(21,62,117,0.15);
  outline: none;
}
/* Burger Icon */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #111;
  padding: 7px 10px 7px 10px;
  margin-left: 0.7em;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(60,60,60,0.06);
  transition: background 0.24s;
}
.mobile-menu-toggle:focus {
  background: #f4f4f9;
  outline: 2px solid #153E75;
}
@media (max-width:980px) {
  .main-nav { display: none; }
  .cta-button { margin-left: 10px; }
  .mobile-menu-toggle { display: inline-block; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(8,8,15,0.88);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.4,1.5,.6,1.0);
  box-shadow: 0 3px 48px rgba(30,30,40,0.45);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  position: relative;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.7rem;
  color: #153E75;
  box-shadow: 0 2px 12px rgba(20,20,30,0.13);
  cursor: pointer;
  transition: background 0.26s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus { background: #e6e6eb; outline: 2px solid #153E75; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 48px 0 0 32px;
  z-index: 1;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  padding: 14px 6px 7px 0;
  border-left: 3px solid transparent;
  transition: color 0.18s, border-color 0.2s, background 0.22s;
  outline: none;
  border-radius: 5px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #48A9A6;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid #48A9A6;
}
@media (min-width:981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- FOOTER --- */
footer {
  background: #111;
  color: #fff;
  padding-top: 32px;
  padding-bottom: 24px;
  border-top: 6px solid #153E75;
  margin-top: 40px;
}
footer .container { flex-direction: row; gap: 0; }
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-info, .footer-links {
  display: flex;
  flex-direction: column;
}
.footer-info {
  gap: 13px;
  min-width: 200px;
}
.footer-info img {
  height: 38px; width: auto;
  filter: grayscale(100%) contrast(130%);
}
.footer-info address {
  color: #dedede;
  font-size: 0.96rem;
  font-style: normal;
  margin-top: 8px;
  line-height: 1.63;
}
.footer-info a {
  color: #fff;
  text-decoration: underline dotted;
}
.footer-links {
  gap: 11px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #b0b0b0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 400;
  margin-left: 0;
  transition: color 0.14s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #48A9A6;
}
.legal-note {
  color: #8f8f8f;
  font-size: 0.95rem;
  margin-top: 18px;
  letter-spacing: 0.01em;
  width: 100%;
}
@media (max-width:900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width:600px) {
  footer .container { padding: 12px 6px; }
  .legal-note { font-size: 0.89rem; }
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
button, .cta-button, .btn, input[type="submit"] {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, border 0.15s;
}
.btn {
  background: #153E75;
  color: #fff;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 500;
  padding: 9px 24px;
  box-shadow: 0 2px 10px rgba(21,62,117,0.10);
  border: 2px solid #153E75;
}
.btn:hover, .btn:focus {
  background: #fff;
  color: #153E75;
  border-color: #153E75;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1010;
  background: #23242a;
  color: #fff;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -2px 24px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.28s cubic-bezier(.6,2,.6,1), transform 0.36s cubic-bezier(.62,1.4,.7,1.15);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  max-width: 700px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-settings-btn {
  background: #153E75;
  color: #fff;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 22px;
  border: 2px solid #153E75;
  transition: background 0.21s, color 0.13s, border 0.13s, box-shadow 0.13s;
  margin: 0 2px;
}
.cookie-btn.reject {
  background: #fff;
  color: #23242a;
  border: 2px solid #23242a;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #48A9A6;
  color: #111;
  border-color: #48A9A6;
  outline: none;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #23242a;
  color: #fff;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 21px 4px 11px 4px;
    gap: 11px;
  }
  .cookie-banner-text { max-width: unset; font-size: 0.96rem; }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: rgba(8,12,16,0.79);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.6,2,.6,1);
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #23242a;
  box-shadow: 0 4px 48px rgba(0,0,0,0.20);
  border-radius: 17px;
  padding: 32px 34px 20px 34px;
  max-width: 460px;
  min-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #153E75;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 9px;
  font-size: 1.15rem;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #153E75;
  width: 18px; height: 18px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #23242a;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 20px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: #153E75;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.17s;
  padding: 2px 7px;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #f4f4f4;
  outline: 2px solid #153E75;
}
@media (max-width:500px) {
  .cookie-modal-content {
    padding: 18px 5px 15px 10px;
    min-width: 0;
    max-width: 100vw;
  }
}

/* --- FORMS (for future proofing) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1.3px solid #d5d5df;
  border-radius: 5.5px;
  outline: none;
  padding: 11px 13px;
  background: #f8f8fa;
  color: #111;
  margin-bottom: 15px;
  width: 100%;
  transition: box-shadow 0.15s, border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #153E75;
  box-shadow: 0 1px 7px #153E7525;
}  
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #23242a;
  font-size: 1rem;
  margin-bottom: 6px;
}

/* --- MISCELLANEOUS LAYOUT UTILITIES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* --- SPACING CONSISTENCY (CRITICAL) --- */
section, .card, .feature-card, .testimonial-card { margin-bottom: 20px; }
.features-grid, .card-container, .testimonials-list, .content-grid, .footer-links { gap: 20px; }

/* --- RESPONSIVE RULES (Mobile-First) --- */
@media (max-width: 768px) {
  .features-grid, .content-grid, .card-container, .testimonials-list, .footer-links, .footer-info .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .feature-card, .testimonial-card, .card {
    max-width: 100%;
    min-width: 0;
    padding-left: 14px; padding-right: 14px;
  }
  header .container {
    flex-direction: row;
    gap: 0;
    padding-left: 6px;
    padding-right: 6px;
  }
  section, .cookie-modal-content { border-radius: 0 !important; }
}

/* --- SHADOWS for Sophisticated Look (Monochrome) --- */
.feature-card, .card, .testimonial-card {
  box-shadow: 0 2px 14px rgba(22,22,26,0.08);
}
.feature-card:hover, .testimonial-card:hover, .card:hover {
  box-shadow: 0 10px 36px rgba(21,62,117,0.12);
}

/* --- MONOCHROME EFFECTS & DRAMATIC CONTRAST --- */
body, section, .feature-card, .testimonial-card, .card, .cookie-modal-content {
  background: #fff;
}
footer {
  background: #111;
  color: #fff;
}
.feature-card, .testimonial-card, .card {
  border: 1px solid #dedede;
}

/* --- MICRO-INTERACTIONS --- */
.cta-button, .btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.17s, border 0.14s, box-shadow 0.11s;
}
.cta-button:focus, .btn:focus {
  outline: none;
  border-color: #48A9A6;
  box-shadow: 0 0 0 2px #48a9a663;
}

::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* --- SCROLLBAR --- */
body::-webkit-scrollbar { width: 9px; background: #f4f4f9; }
body::-webkit-scrollbar-thumb { background: #b7b9bf; border-radius: 4px; }

/* --- VISUAL HIERARCHY INDICATORS --- */
h1 { border-bottom: 1.5px solid #153E75; padding-bottom: 10px; margin-bottom: 26px; letter-spacing: 0.04em; }
h2 { margin-top: 18px; border-left: 4px solid #153E75; padding-left: 12px; background: none; }
h2, h3 { color: #153E75; }

/* --- ACCORDIONS (for FAQs, if ever present) --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion-item {
  background: #f4f4f9;
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 12px 18px;
  box-shadow: 0 1px 8px rgba(17,17,17,0.05);
}
.accordion-item.active {
  border-left: 4px solid #153E75;
  background: #fff;
}

/* --- PRINT SUPPORT --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  section { margin: 0; padding: 0; box-shadow: none; }
}
