/* ===================================== */
/* CSS RESET & NORMALIZE - MONOCHROME    */
/* ===================================== */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #fff;
}
body {
  background-color: #fff;
  color: #191919;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
*, *::before, *::after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #191919;
  transition: color 0.2s;
}
a:focus { outline: 2px dashed #222; }
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: none;
}

/* ===================================== */
/* BRAND FONTS - fallback first in stack */
/* ===================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5em;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.2rem; line-height: 1.18; margin-bottom: 0.6em; }
h2 { font-size: 1.6rem; line-height: 1.23; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.35em; }
h4 { font-size: 1.1rem; margin-bottom: 0.25em; }

p, li, span, a, ul {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
strong { font-weight: 600; }
em, i { font-style: italic; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.text-section {
  margin-bottom: 32px;
}

.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;
  }
}

/* ===================== */
/* HEADER & NAVIGATION   */
/* ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 30;
  transition: box-shadow 0.2s;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #191919;
  border-bottom: 2px solid #111;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background-color: #121212;
  border: none;
  border-radius: 28px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px 0 rgba(10,10,10,0.05);
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  background-color: #fff;
  color: #111;
  border: 2px solid #191919;
  transform: translateY(-2px);
}

/* ========================= */
/* MOBILE BURGER NAVIGATION  */
/* ========================= */
.mobile-menu-toggle {
  background: transparent;
  color: #121212;
  font-size: 2rem;
  border: none;
  display: none;
  cursor: pointer;
  margin-left: 18px;
  line-height: 1;
  z-index: 50;
  padding: 6px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  background: #191919;
  color: #fff;
}
@media (max-width: 1023px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,16,16, 0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 22px 0 22px;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.7,0,0.25,1);
  box-shadow: 0 0 22px 2px rgba(40,40,40,0.07);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  padding: 4px 10px;
  margin-bottom: 22px;
  border-radius: 50%;
  transition: background 0.16s;
  line-height: 1;
}
.mobile-menu-close:focus { background: #232323; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #222;
}
.mobile-nav a:hover {
  color: #76FFD0;
  background: #232323;
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ===================================== */
/* HERO SECTION                         */
/* ===================================== */
.hero {
  background: #fff;
  color: #191919;
  border-bottom: 1px solid #f1f1f1;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  gap: 24px;
}
.hero p {
  font-size: 1.22rem;
  max-width: 680px;
  color: #2c2e30;
}
.hero .cta-button {
  margin-left: 0;
  margin-top: 18px;
}

@media (max-width: 760px) {
  .hero { padding: 38px 0; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
}

/* ===================================== */
/* FEATURES / CARDS / GRIDS              */
/* ===================================== */
.features, .feature-grid, .feature-item {
  width: 100%;
}
.features .content-wrapper {
  gap: 38px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafbfc;
  border-radius: 16px;
  box-shadow: 0px 4px 24px rgba(40,40,40,0.03);
  border: 1px solid #ededed;
  padding: 28px 24px;
  min-width: 230px;
  max-width: 310px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.22s, transform 0.17s;
  position: relative;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item h3 {
  font-size: 1.22rem;
  color: #101113;
}
.feature-item p {
  color: #333;
  font-size: 1rem;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(20,20,20,0.13);
  border: 1.5px solid #bbb;
  transform: translateY(-3px) scale(1.02);
  z-index: 1;
}

/* ===================================== */
/* CARD CONTAINERS & CARD SPACING        */
/* ===================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fafbfc;
  border: 1px solid #ededed;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(30,30,30,0.07);
  padding: 24px 20px 28px 20px;
  transition: box-shadow 0.18s, border 0.22s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(8,8,8,0.16);
  border: 1.5px solid #bbb;
  transform: translateY(-3px) scale(1.025);
  z-index: 2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

/* ===================================== */
/* ABOUT-COMPONENTS & GENERAL UL/LI      */
/* ===================================== */
ul {
  margin-bottom: 28px;
  padding-left: 1.1em;
}
ul li {
  margin-bottom: 0.5em;
  font-size: 1rem;
  color: #444;
  line-height: 1.65;
}

/* ===================================== */
/* CTA SECTION                          */
/* ===================================== */
.cta {
  background: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 48px 20px;
  text-align: center;
}
.cta h2 {
  color: #191919;
  font-size: 1.6rem;
  margin-bottom: 26px;
}
.cta .cta-button {
  margin-top: 0;
  margin-left: 0;
}

/* ===================================== */
/* TESTIMONIAL CARDS                    */
/* ===================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #F7F7F8;
  border: 1.5px solid #E6E6E7;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  color: #161718;
  box-shadow: 0 3px 18px 0 rgba(36,36,36,0.05);
  transition: border 0.22s, box-shadow 0.19s, background 0.18s;
  font-size: 1.08rem;
  min-width: 240px;
  max-width: 600px;
  width: 100%;
}
.testimonial-card p {
  color: #161718;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-weight: 600;
  color: #191919;
}
.testimonial-card:hover {
  border: 1.5px solid #bbb;
  box-shadow: 0 9px 32px 0 rgba(40,40,40,0.09);
  background: #f3f3f4;
}

/* Accessibility: dark text on light BG */
.testimonial-card,
.testimonial-card * {
  color: #191a1c;
}

/* ===================================== */
/* SECTIONS, SPACING, ALIGNMENT (FLEX)   */
/* ===================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width: 760px) {
  .section, section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}

/* ===================================== */
/* SERVICE-LIST                          */
/* ===================================== */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}
/* ===================================== */
/* FOOTER STYLES                         */
/* ===================================== */
footer {
  background: #121212;
  padding: 28px 0 0 0;
  color: #eee;
  border-top: 1px solid #222;
}
footer .container {
  padding-bottom: 14px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-legal a {
  color: #efefef;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.19s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover,
.footer-legal a:hover { color: #fff; }
.footer-contact {
  font-size: 0.96rem;
  color: #ccc;
  min-width: 220px;
  max-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact a.cta-button {
  margin-top: 18px;
  color: #fff;
  background: #16417D;
  border: none;
  font-size: 1rem;
  padding: 10px 24px;
}
.footer-contact a.cta-button:hover {
  background: #fff;
  color: #191919;
  border: 2px solid #16417D;
}
footer img {
  vertical-align: middle;
  height: 18px;
  width: auto;
  margin-right: 6px;
}

@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}

/* ===================================== */
/* COOKIE CONSENT BANNER & MODAL         */
/* ===================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #19191A;
  color: #fff;
  z-index: 3000;
  padding: 22px 20px;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -7px 32px rgba(40,40,40,0.05);
  transition: transform 0.33s cubic-bezier(.63,-0.13,.44,1.23), opacity 0.2s;
  opacity: 1;
}
.cookie-banner.closed { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cookie-banner__text {
  max-width: 640px;
  color: #efefef;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 22px;
  border: none;
  padding: 8px 18px;
  font-weight: 600;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, border 0.15s, transform 0.13s;
  background: #fff;
  color: #121212;
  outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.cookie-btn.accept {
  background: #121212;
  color: #fff;
  border: 2px solid #222;
}
.cookie-btn.reject {
  background: #fff;
  color: #222;
  border: 2px solid #ccc;
}
.cookie-btn.settings {
  background: #191919;
  color: #fff;
  border: 2px solid #16417D;
}
.cookie-btn:hover {
  background: #222;
  color: #fff;
  transform: translateY(-1px) scale(1.035);
}
.cookie-btn:focus { outline: 2px solid #fff; }

@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 19px 7px;
    text-align: left;
    align-items: flex-start;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16, 16, 16, 0.94);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__box {
  background: #fff;
  border-radius: 18px;
  padding: 32px 24px;
  min-width: 300px;
  max-width: 440px;
  color: #161718;
  box-shadow: 0 8px 42px 0 rgba(40,40,40,0.20);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 17px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #191919;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  line-height: 1;
}
.cookie-modal__close:focus {
  background: #eee;
}
.cookie-modal h2 {
  color: #121212;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #181819;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #16417D;
  border: 1.5px solid #222;
}
.cookie-category .always-on {
  font-style: italic;
  color: #48B780;
  font-size: 0.96em;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}

@media (max-width: 620px) {
  .cookie-modal__box {
    min-width: 90vw;
    max-width: 96vw;
    padding: 18px 8px;
  }
}

/* ===================================== */
/* GENERAL INTERACTIVE/FOCUS STATES      */
/* ===================================== */
button, [type="button"], [type="submit"], [role="button"] {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
button:focus, a:focus {
  outline: 2px solid #16417D;
  outline-offset: -2px;
}

/* MICRO-INTERACTIONS / HOVER EFFECTS */
.card, .feature-item, .cta-button, .cookie-btn {
  transition: box-shadow 0.19s, border 0.19s, background 0.19s, color 0.13s, transform 0.15s;
}

/* ===================================== */
/* RESPONSIVE SETTINGS                   */
/* ===================================== */
@media (max-width: 1150px) {
  .container, .content-wrapper { max-width: 99vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  .footer-contact { max-width: 95vw; }
}

/* ===================================== */
/* MISCELLANEOUS ALIGNMENT + SPACING     */
/* ===================================== */
div[style*="background-color:#F3F5F6"] {
  background-color: #f5f5f5!important;
  color: #19192b!important;
  border-radius: 11px;
  font-size: 0.97rem;
  margin: 1.1em 0;
}

/* == Accessibility font-size for smaller screens == */
@media (max-width: 440px) {
  html { font-size: 15px; }
}

/* == Custom focus for contrast == */
:focus-visible {
  outline: 2px solid #16417D;
  outline-offset: 2px;
}

/* ===================================== */
/* PRINT SIMPLE RESET                   */
/* ===================================== */
@media print {
  * {
    color: #111 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .mobile-menu, .cookie-banner, .cookie-modal, .main-nav, .cta-button {
    display: none !important;
  }
  header, footer { border: none !important; box-shadow: none!important; }
}
