/*---------------------------------------------------
CSS RESET & BASE
---------------------------------------------------*/
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, menu, 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 {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f6f6f7;
  color: #171717;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}
:focus {
  outline: 2px solid #222;
  outline-offset: 3px;
}
/*---------------------------------------------------
FONTS & TYPOGRAPHY
---------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #101010;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
h2 {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.24;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p, ul li, ol li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
  color: #171717;
}
.section h1, .section h2, .section h3 {
  margin-bottom: 18px;
}
.section p:last-child, .section ul:last-child {
  margin-bottom: 0;
}

/*---------------------------------------------------
COLOR PALETTE (Monochrome Sophisticated)
---------------------------------------------------*/
:root {
  --primary: #10141a;
  --primary-alt: #21242a;
  --accent: #f9f7f1;
  --white: #fff;
  --black: #000;
  --gray-100: #f6f6f7;
  --gray-200: #ededee;
  --gray-300: #d1d1d4;
  --gray-400: #b0b0b1;
  --gray-600: #58595b;
  --gray-700: #353537;
  --gray-900: #18181b;
  --brand-blue: #17436A;
  --brand-green: #3D8D5D;
  --shadow: 0 3px 14px rgba(0,0,0,0.06);
}

/*---------------------------------------------------
CONTAINER & SECTION LAYOUTS
---------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.section {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/*---------------------------------------------------
NAVIGATION & HEADER
---------------------------------------------------*/
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-top: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 20px 16px 20px;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #232324;
  opacity: 0.9;
  padding: 6px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
  position: relative;
  z-index: 2;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: var(--brand-blue);
  background: var(--gray-100);
}
.main-nav > .cta-btn {
  background: var(--brand-blue);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 1.02rem;
  margin-left: 12px;
  letter-spacing: 0.01em;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px rgba(30,33,45,0.06);
  transition: background 0.21s, transform 0.18s;
}
.main-nav > .cta-btn:hover, .main-nav > .cta-btn:focus {
  background: var(--primary-alt);
  color: var(--accent);
  transform: translateY(-2px) scale(1.035);
}
.main-nav img {
  height: 32px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

/*---------------------------------------------------
MOBILE MENU
---------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.8rem;
  z-index: 200;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-blue);
  color: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 9999;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.23s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--primary-alt);
  color: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 10px 18px;
  z-index: 999;
  border: none;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-blue);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 32px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 6px;
  color: var(--primary);
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--gray-100);
  color: var(--brand-blue);
}

/* Hide mobile menu & show burger on small screens */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/*---------------------------------------------------
SECTION & CARD LAYOUTS
---------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  box-shadow: 0 2px 11px rgba(0,0,0,0.07);
  padding: 30px 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  flex: 1 1 300px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 18px rgba(22, 22, 23, 0.13);
  transform: translateY(-2px) scale(1.017);
}
.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;
}
/* Responsive: column on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-item, .feature-tiles > div {
  background: var(--gray-100);
  border-radius: 11px;
  padding: 20px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 7px rgba(18,18,18,0.04);
  min-width: 210px;
  flex: 1 1 220px;
}
.feature-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
/* Responsive: feature stacks on mobile */
@media (max-width: 700px) {
  .feature-tiles {
    flex-direction: column;
    gap: 10px;
  }
  .feature-item, .feature-tiles > div {
    min-width: 0;
    width: 100%;
  }
}

/*---------------------------------------------------
TESTIMONIALS
---------------------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
  color: #171717;
}
.testimonial-card p {
  color: #191919;
  font-size: 1.13rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 600;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 5px 20px rgba(0,0,0,0.11);
}

/*---------------------------------------------------
BUTTONS & LINKS
---------------------------------------------------*/
.cta-btn {
  background: var(--primary);
  color: var(--white) !important;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 14px rgba(22,23,27,0.08);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.16s;
  display: inline-block;
  margin: 8px 0 0 0;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--brand-blue);
  color: var(--accent) !important;
  box-shadow: 0 6px 24px rgba(23,24,29,0.16);
  transform: translateY(-2px) scale(1.04);
}
a {
  transition: color 0.14s, border-color 0.14s;
}
a:active {
  color: var(--brand-blue);
}
.content-wrapper ul a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.21s;
}
.content-wrapper ul a:hover, .content-wrapper ul a:focus {
  color: var(--brand-blue);
  text-decoration: none;
}

/*---------------------------------------------------
LISTS & ICON LISTS
---------------------------------------------------*/
.content-wrapper ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 2px;
  color: var(--gray-700);
  font-size: 1.02rem;
}
.content-wrapper ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-right: 7px;
}

/*---------------------------------------------------
TRUST SIGNALS
---------------------------------------------------*/
.trust-signals {
  background: var(--gray-200);
  border-radius: 22px;
  padding: 9px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--gray-700);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

/*---------------------------------------------------
FOOTER
---------------------------------------------------*/
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 18px 0;
  border-top: 1.5px solid var(--gray-300);
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--gray-200);
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: var(--primary-alt);
}
.footer-contact {
  text-align: center;
  margin-top: 6px;
  font-size: 0.99rem;
  color: var(--gray-300);
}
/*---------------------------------------------------
CONTACT INFO & MAP
---------------------------------------------------*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.04rem;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
  filter: grayscale(100%) contrast(1.5);
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 1rem;
}
.map-embed img {
  width: 30px;
  height: 30px;
}

/*---------------------------------------------------
RESPONSIVE DESIGN
---------------------------------------------------*/
@media (max-width: 1230px) {
  .container {
    max-width: 99vw;
  }
}
@media (max-width: 820px) {
  .main-nav img {
    height: 28px;
  }
  h1 {
    font-size: 2.1rem;
  }
  .section {
    padding: 34px 9px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .section {
    padding: 19px 4px;
    margin-bottom: 24px;
  }
  .container {
    padding: 0 3px;
  }
  .card, .testimonial-card, .feature-item {
    padding: 16px 9px;
  }
}

/*---------------------------------------------------
COOKIE CONSENT BANNER
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999999;
  width: 100vw;
  background: var(--primary); /* nearly black */
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 23px 11px 16px 11px;
  box-shadow: 0 -2px 16px rgba(22,22,23,0.21);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: cookieFadeIn 0.7s;
}
@keyframes cookieFadeIn {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--white);
  margin-right: 12px;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border: none;
  border-radius: 25px;
  padding: 9px 23px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: var(--brand-green);
  color: var(--white);
}
.cookie-banner .accept:hover {background: #218150;}
.cookie-banner .reject {
  background: var(--gray-300);
  color: var(--primary);
}
.cookie-banner .reject:hover { background: var(--gray-400);}
.cookie-banner .settings {
  background: var(--gray-100);
  color: var(--primary);
  border: 1px solid var(--gray-400);
}
.cookie-banner .settings:hover {
  background: var(--gray-200);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding: 14px 4px 9px 4px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
    gap: 8px;
  }
}

/*--- Cookie Modal ---*/
.cookie-modal {
  position: fixed;
  z-index: 9999999;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,20,23,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.3s;
}
@keyframes cookieModalIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-dialog {
  background: var(--white);
  color: var(--primary);
  border-radius: 15px;
  min-width: 90vw;
  max-width: 415px;
  box-shadow: 0 4px 28px rgba(18,18,23,0.19);
  padding: 34px 28px 23px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: var(--gray-200);
  color: var(--primary);
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.17s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-blue);
  color: var(--accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: var(--gray-400);
  border-radius: 13px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: var(--gray-100);
  border-radius: 50%;
  transition: left 0.17s, background 0.17s;
  z-index: 1;
}
.cookie-toggle input:checked + .slider {
  left: 18px;
  background: var(--brand-blue);
}
.cookie-category[data-essential] .cookie-toggle {
  pointer-events: none;
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border: none;
  border-radius: 22px;
  padding: 8px 17px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.13s;
}
.cookie-modal-actions .save {
  background: var(--brand-green);
  color: var(--white);
}
.cookie-modal-actions .save:hover {background: #218150;}
.cookie-modal-actions .cancel {
  background: var(--gray-300);
  color: var(--primary);
}
.cookie-modal-actions .cancel:hover { background: var(--gray-400);}

@media (max-width: 490px) {
  .cookie-modal-dialog {
    padding: 15px 9px 12px 9px;
    min-width: 96vw;
    max-width: 98vw;
  }
}

/*---------------------------------------------------
ANIMATIONS, TRANSITIONS & HOVER EFFECTS
---------------------------------------------------*/
.card, .feature-item, .testimonial-card, .cta-btn, .main-nav>a, .mobile-nav a {
  transition: box-shadow 0.2s, background 0.17s, color 0.19s, transform 0.13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 7px 16px rgba(36,36,55,0.09);
}
.cta-btn:active, .card:active, .feature-item:active, .testimonial-card:active {
  box-shadow: 0 1px 7px rgba(0,0,0,0.08);
  transform: scale(0.98);
}

/*---------------------------------------------------
SCROLLBARS (DARK MODE)
---------------------------------------------------*/
body::-webkit-scrollbar {
  width: 8px;
  background: var(--gray-100);
}
body::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

/*---------------------------------------------------
OTHER MISC ELEMENTS
---------------------------------------------------*/
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

main {
  flex: 1 0 auto;
  min-height: 60vh;
  margin-bottom: 40px;
}

/*---------------------------------------------------
ACCESSIBILITY & FOCUS
---------------------------------------------------*/
a, button:focus-visible {
  outline: 2.5px solid var(--brand-blue);
  outline-offset: 1px;
}


/*---------------------------------------------------
Z-INDEX LAYERS
---------------------------------------------------*/
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1000;
}

/*---------------------------------------------------
END
---------------------------------------------------*/
