/* ---- 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  background: #fff;
}
body {
  min-height: 100vh;
  background: #FCFCFC;
  color: #222;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #17455A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
hr {
  border: none;
  border-top: 1px solid #e3e3e3;
}

/* ---- BRAND TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 24px;
}
h2 {
  font-size: 2.1rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 700;
}
.text-section h2, .text-section h3 {
  color: #1A1A1A;
}

/* ---- CONTAINER & LAYOUT UTILS ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
}

/* ---- HEADER & NAVBAR ---- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3e3e3;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  height: 72px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header a img {
  height: 40px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #222;
  font-size: 1rem;
  text-transform: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  color: #17455A;
  text-decoration: underline;
}
.button-primary {
  background: #111;
  color: #fff;
  border-radius: 28px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 13px 38px;
  margin-left: 18px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.10);
  transition: background 0.23s, color 0.23s, box-shadow 0.23s;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.03em;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: #17455A;
  color: #fff;
  box-shadow: 0 2px 18px 3px rgba(30,30,30,0.13);
}
.button-secondary {
  background: #fff;
  border: 2px solid #181d22;
  color: #181d22;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 36px;
  margin-top: 20px;
  margin-bottom: 6px;
  transition: background 0.22s, color 0.22s, border 0.22s;
  cursor: pointer;
}
.button-secondary:hover, .button-secondary:focus {
  background: #181d22;
  color: #fff;
}
header .mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  header .container {
    padding: 0 10px !important;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header nav, header .button-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #181d22;
    font-size: 2rem;
    padding: 7px 16px;
    cursor: pointer;
    transition: color 0.18s;
    z-index: 301;
  }
  header .mobile-menu-toggle:focus {
    outline: 2px solid #8CC0DE;
    color: #17455A;
  }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 8px 40px 8px rgba(0,0,0,0.13);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.37s cubic-bezier(.4,0,.2,1), opacity 0.25s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #111;
  align-self: flex-end;
  margin: 20px 24px 20px 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 301;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #17455A;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
  margin-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #1A1A1A;
  padding: 14px 0;
  border-bottom: 1px solid #e7e7e7;
  width: 90vw;
  max-width: 370px;
  transition: color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #17455A;
  background: #F5F7FA;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-close {
    display: none !important;
  }
}

/* ---- HERO SECTION ---- */
.hero {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.09);
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  min-height: 320px;
  padding-top: 44px;
  padding-bottom: 46px;
  align-items: flex-start;
  display: flex;
}
.hero .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.hero h1 {
  color: #000;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,.06);
  font-size: 2.75rem;
}
.hero p {
  color: #333;
  font-size: 1.18rem;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .hero .container {
    min-height: 190px;
    padding-top: 20px;
    padding-bottom: 28px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 18px;
  }
  .hero {
    margin-bottom: 38px;
  }
}

/* ---- FLEXBOX UTILITIES ---- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 8px;
  margin-bottom: 16px;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 200px;
  background: #FCFCFC;
  border-radius: 18px;
  padding: 24px 20px 22px 20px;
  box-shadow: 0 2px 16px 2px rgba(0,0,0,0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid img {
  width: 46px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-list, .services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list {
  margin-bottom: 28px;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 1px rgba(0,0,0,0.072);
  border: 1px solid #E6E6E6;
  padding: 28px 20px 22px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.20s cubic-bezier(.4,0,.2,1);
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 4px 22px 5px rgba(0,0,0,0.14);
  border-color: #BFBFBF;
}
.service-card h3 {
  margin-bottom: 7px;
  color: #181d22;
}
.service-card span {
  font-size: 1.1rem;
  color: #333;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
}
@media (max-width:900px) {
  .features-grid, .services-list, .services-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .features-grid, .services-list, .services-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px 18px 26px;
  background: #F6F8FA;
  border-radius: 16px;
  border: 1px solid #e3e3e3;
  box-shadow: 0 2px 12px 2px rgba(0,0,0,0.055);
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
}
.testimonial-card p {
  color: #181d22;
  font-size: 1.05rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #2B2B2B;
  font-size: .97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 11px 16px 14px;
  }
}

/* ---- CARDS AND GENERIC FLEX LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px 1px rgba(0,0,0,0.08);
  border-radius: 13px;
  border: 1px solid #E5E5E5;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 18px;
}
.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;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ---- PRICING TABLE ---- */
.pricing-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.05);
}
.pricing-table th {
  background: #212121;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 16px 12px;
}
.pricing-table td {
  border-bottom: 1px solid #eee;
  padding: 16px 12px;
  font-size: 1.02rem;
  color: #202428;
  background: #fcfcfc;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* ---- FOOTER ---- */
footer {
  background: #1B1C1F;
  color: #F7FAFC;
  padding: 48px 0 20px 0;
  width: 100%;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 36px;
  margin-bottom: 14px;
}
footer p {
  color: #E9ECEF;
  font-size: 1rem;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #d7eafd;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
  font-size: 1rem;
  margin-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ---- MAP SNIPPET ---- */
.map-snippet {
  background: #F3F4F6;
  border-radius: 10px;
  padding: 15px 20px;
  color: #232629;
  margin: 15px 0 23px 0;
  font-size: 1rem;
}

/* ---- MISC PAGE UTILS ---- */
.comparison-list {
  margin-top: 28px;
  margin-bottom: 18px;
}
.comparison-list h3 {
  color: #181d22;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.comparison-list ul {
  margin-left: 16px;
}
.contact-details {
  margin-bottom: 18px;
}
.contact-details p {
  color: #181d22;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-details a {
  color: #17455A;
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 600px) {
  .container, .content-wrapper {
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }
}

/* ---- COOKIES CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(248,249,250,0.98);
  box-shadow: 0 -2px 18px 0 rgba(0,0,0,0.15);
  z-index: 5004;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px 18px 30px;
  font-size: 1rem;
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s, opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-message {
  color: #141516;
  font-size: 1.02rem;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  margin-right: 24px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  background: #181d22;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.cookie-accept {
  background: #17455A;
}
.cookie-banner .cookie-btn.cookie-accept:hover, .cookie-banner .cookie-btn.cookie-accept:focus {
  background: #121f23;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #B0B2B5;
  color: #222;
}
.cookie-banner .cookie-btn.cookie-reject:hover, .cookie-banner .cookie-btn.cookie-reject:focus {
  background: #898A8D;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #fff;
  color: #181d22;
  border: 2px solid #181d22;
  padding: 7px 16px;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: #181d22;
  color: #fff;
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 7vw 14px 7vw;
  }
  .cookie-banner-message {
    margin-right: 0;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(16,17,21,0.76);
  z-index: 5041;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 52px 4px rgba(0,0,0,0.23);
  padding: 40px 32px 28px 32px;
  max-width: 420px;
  width: 90vw;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 19px;
  font-size: 1rem;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #181d22;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #17455A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 600;
  color: #23272B;
  flex:1;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: #ccd3d9;
  border-radius: 24px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #17455A;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  transition: transform 0.21s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal-footer {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin-left: 0;
  margin-right: 0;
}
.cookie-category .cookie-info {
  color: #6D6B78;
  font-size: 0.92rem;
  margin-left: 10px;
  font-weight: 400;
}

/* ---- ANIMATIONS & INTERACTIONS ---- */
.button-primary, .button-secondary, .cookie-btn {
  transition: background 0.24s, color 0.18s, box-shadow 0.18s;
}
.service-card, .testimonial-card, .features-grid > div {
  transition: box-shadow 0.22s, border 0.18s;
}
.service-card:hover, .testimonial-card:hover, .features-grid > div:hover {
  box-shadow: 0 6px 28px 4px rgba(44,44,44,0.09);
}
a, button, input, select, textarea {
  outline-color: #8CC0DE;
}

/* ---- MONOCHROME_SOPHISTICATED OVERRIDES ---- */
body {
  background: #F7F8FA;
  color: #1B1C1F;
}
.section {
  background: #fff;
}
.card, .service-card, .features-grid > div, .testimonial-card {
  background: #fff;
  border: 1px solid #E5E8EA;
  box-shadow: 0 2px 16px 1px rgba(0,0,0,0.045);
}
.button-primary, .cookie-btn.cookie-accept {
  background: #181d22;
  color: #fff;
}
.button-primary:hover, .cookie-btn.cookie-accept:hover {
  background: #000;
  color: #fff;
}
.button-secondary {
  background: #fff;
  color: #181d22;
  border: 2px solid #181d22;
  transition: background 0.18s, color 0.18s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #181d22;
  color: #fff;
}

/* ---- SCROLLBAR FOR SOPHISTICATION ---- */
::-webkit-scrollbar {
  width: 9px;
  background: #efefef;
}
::-webkit-scrollbar-thumb {
  background: #CBCBCB;
  border-radius: 10px;
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 2px solid #8CC0DE;
}

/* --- CLEAR FLOATING SPACING FOR MONOCHROME DRAMATIC EFFECT --- */
.section:not(.hero) h2 {
  border-left: 5px solid #181d22;
  padding-left: 15px;
  background: linear-gradient(90deg, #F8F8F8 0%, #fff 70%);
  margin-bottom: 20px;
}
@media (max-width:500px) {
  .section:not(.hero) h2 {
    border-left-width: 3px;
    padding-left: 9px;
  }
}

/* --- END --- */
