/* --- CSS RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #191919;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 400;
  min-height: 100vh;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #191919;
  text-decoration: none;
  transition: color 0.15s;
  outline: none;
}
a:focus-visible,
a:focus {
  outline: 2px solid #1E3A4C;
  outline-offset: 3px;
}
ul, ol {
  margin-left: 1.7em;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
strong, b {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1px solid #dadada;
  margin: 32px 0;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.16;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #111;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
p {
  margin-bottom: 1em;
  color: #212121;
  font-size: 1rem;
}

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

/* ---- CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(34, 34, 34, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(24,24,24,0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  min-width: 260px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #F7F6F1;
  color: #191919;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(24,24,24,0.07);
  position: relative;
  border-left: 4px solid #1E3A4C;
  font-size: 1.05em;
}
.testimonial-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1E3A4C;
}
.testimonial-card span {
  color: #666;
  font-size: 0.98em;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fafbfc;
  box-shadow: 0 1px 6px rgba(34,34,34,0.07);
  border-radius: 14px;
  padding: 28px 20px 24px 20px;
  min-width: 230px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, background 0.2s;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  box-shadow: 0 6px 32px rgba(34,34,34,0.13);
  background: #f1f1f1;
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  filter: grayscale(80%) contrast(130%);
}

.team-bios {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  font-size: 1rem;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  filter: grayscale(100%) contrast(150%);
}

.contact-block {
  background: #F7F6F1;
  border-radius: 15px;
  padding: 28px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(34,34,34,0.05);
  min-width: 260px;
}
.contact-block ul {
  margin-left: 0;
  list-style: none;
}
.contact-block li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.07em;
}

/* ---- BUTTONS ---- */
.cta,
button,
input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 9px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.14s;
  outline: none;
  display: inline-block;
  letter-spacing: 0.01em;
  min-width: 150px;
  box-shadow: 0 1px 4px rgba(30,58,76,0.05);
  text-align: center;
}
.cta.primary,
button.cta.primary {
  background: #191919;
  color: #F7F6F1 !important;
  border: 2px solid #111;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #fff;
  color: #1E3A4C !important;
  border: 2px solid #1E3A4C;
  box-shadow: 0 2px 12px rgba(34,34,34,0.10);
  transform: translateY(-2px) scale(1.018);
}
.cta.secondary {
  background: #fff;
  color: #191919;
  border: 2px solid #bbb;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #191919;
  color: #fff;
  border: 2px solid #1E3A4C;
  box-shadow: 0 1px 8px rgba(34,34,34,0.07);
  transform: translateY(-2px) scale(1.012);
}

button, .cta, .mobile-menu-close,
.cookie-btn, .cookie-modal-btn {
  user-select: none;
}

/* ----- HEADER & NAV ----- */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(24,24,24,0.08);
  border-bottom: 1.5px solid #efefef;
  width: 100%;
  position: relative;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 0;
}
.logo img {
  height: 46px;
  width: auto;
  filter: grayscale(100%) contrast(130%);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  color: #191919;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #1E3A4C;
  border-bottom: 2px solid #191919;
}
header .cta.primary {
  margin-left: 30px;
  min-width: 164px;
}

/* ----- MOBILE MENU ----- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1E3A4C;
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #191919;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,20,0.98);
  z-index: 5000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.82,0.14,0.25,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 25px 12px 0;
  background: #fff;
  color: #1E3A4C;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 2px 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #1E3A4C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 30px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.09);
  transition: color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #bbb;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  header .cta.primary {
    margin-left: 18px;
  }
}
@media (max-width: 980px) {
  .main-nav,
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---- FOOTER ---- */
footer {
  background: #fff;
  color: #888;
  padding: 38px 0 22px 0;
  box-shadow: 0 -2px 28px rgba(24,24,24,0.05);
  border-top: 1.5px solid #ededed;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  margin-bottom: 8px;
  color: #222;
}
.footer-nav a {
  color: #191919;
  transition: color 0.12s;
  font-weight: 500;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6C8E62;
}
.brand-logo {
  margin-top: 16px;
}
.brand-logo img {
  width: 56px;
  filter: grayscale(100%) contrast(130%);
  opacity: 0.86;
}

/* ---- MONOCHROME SOPHISTICATED TOUCHES ---- */
.section,
.card, .features-grid > div {
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 22px rgba(34,34,34,0.06);
  border: 1.5px solid #ededed;
}

.main-nav a, .footer-nav a, .brand-logo img {
  filter: grayscale(100%) contrast(110%);
}

/* High contrast text for dramatic effect */
h1, h2, h3, .cta.primary {
  color: #111;
}

/* Adjust color for accent backgrounds */
.section, .features-grid > div, .testimonial-card, .contact-block {
  background: #F7F6F1;
  border: 1.5px solid #ebebeb;
}
.section {
  box-shadow: 0 1px 8px rgba(24,24,24,0.09);
}

/* ---- SPACING BREAKPOINTS ---- */
@media (max-width: 700px){
  .container {
    padding: 0 8px;
  }
  .footer-nav,
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  .brand-logo {
    margin: 14px 0 0 0;
  }
}

/* ---- RESPONSIVE FLEX LAYOUTS ---- */
@media (max-width: 900px){
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px){
  .section {
    margin-bottom: 38px;
    padding: 28px 7px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .testimonial-card,
  .card,
  .features-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .contact-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ---- LIST STYLES ---- */
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1em;
}
ul li::marker, ol li::marker {
  color: #191919;
}
ul li, ol li {
  color: #222;
  font-size: 1.07em;
  margin-bottom: 0.6em;
}

/* ---- FORM ELEMENTS ---- */
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid #d2d2d2;
  padding: 10px 13px;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  margin-bottom: 16px;
  width: 100%;
  background: #fafbfc;
  color: #191919;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1E3A4C;
  outline: none;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #111;
  color: #F7F6F1;
  width: 100%;
  z-index: 10001;
  padding: 24px 16px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -1px 18px rgba(34,34,34,0.13);
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1.03rem;
  animation: cookie-banner-drop 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-banner-drop {
  0% { transform: translateY(140%); opacity: 0; }
  80% {transform: translateY(-6%);}
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 300px;
  margin-bottom: 0;
  color: #F7F6F1;
  font-size: 1em;
}
.cookie-btn {
  margin-left: 8px;
  margin-right: 0;
  padding: 9px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #fff;
  color: #191919;
  font-weight: 600;
  box-shadow: 0 1px 5px rgba(34,34,34,0.09);
  cursor: pointer;
  transition: background 0.15s, color 0.17s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #1E3A4C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #6C8E62;
  color: #fff;
}
.cookie-btn.reject {
  background: #fafbfc;
  color: #191919;
  border: 1.5px solid #ddd;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #eee;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #F7F6F1;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #1E3A4C;
}
@media (max-width: 650px){
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    text-align: left;
    align-items: flex-start;
    padding: 18px 8px 14px 8px;
    font-size: 0.98em;
  }
  .cookie-btn {
    min-width: 110px;
    margin-left: 0;
  }
}

/* ---- COOKIE MODAL ---- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10002;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,40,47,0.79);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.32s;
}
@keyframes modal-fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #191919;
  border-radius: 15px;
  padding: 38px 30px 26px 30px;
  box-shadow: 0 14px 40px rgba(15,15,24,0.22);
  min-width: 340px;
  max-width: 95vw;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-popup-scale-in 0.31s cubic-bezier(.65,-0.38,.28,1.16);
}
@keyframes modal-popup-scale-in {
  0% {transform: scale(0.7); opacity:0;}
  90% {transform: scale(1.02);}
  100% {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3A4C;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.cookie-category label {
  flex: 1 1 70%;
  font-size: 1.04em;
  color: #111;
}
.cookie-category input[type=checkbox] {
  width: 18px; height: 18px;
  accent-color: #1E3A4C;
  border-radius: 5px;
}
.cookie-category .always-on {
  color: #6C8E62;
  font-size: 0.93em;
  margin-left: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
}
.cookie-modal-btn {
  margin-top: 18px;
  margin-bottom: 0;
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #1E3A4C;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, box-shadow 0.13s;
}
.cookie-modal-btn:hover,
.cookie-modal-btn:focus {
  background: #6C8E62;
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: #fff;
  border: none;
  color: #1E3A4C;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 1px 10px 2px 10px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(30,58,76,0.05);
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #1E3A4C;
  color: #fff;
}

@media (max-width: 480px){
  .cookie-modal {
    padding: 24px 8px 18px 8px;
    min-width: 0;
    font-size: 0.94em;
  }
  .cookie-modal h2 {font-size: 1.08em;}
}

/* ---- MISC ---- */
::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
}
::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 5px;
}

/* --- Utility ---- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-32 { margin-top: 32px!important; }
.text-center { text-align: center; }

/* --- VISUAL HIERARCHY / ACCESSIBILITY --- */
.card, .features-grid > div, .testimonial-card, .contact-block {
  box-shadow: 0 1px 6px rgba(24,24,24,0.08);
  margin-bottom: 20px;
}

/* --- HOVER/FOCUS MICRO-INTERACTIONS --- */
a:not([class^="cta"]):hover, a:not([class^="cta"]):focus {
  color: #1E3A4C;
  text-decoration: underline;
}
a.cta:focus, button:focus, .cta:focus-visible {
  box-shadow: 0 0 0 3px #6C8E62;
}
.card:hover, .card:focus-within, .features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 8px 26px rgba(24,24,24,0.14);
  background: #fff;
  border-color: #1E3A4C;
  transition: box-shadow 0.29s, border 0.19s, background 0.23s;
}

/* ---- PRINT OPTIMIZATION ---- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  body {
    color: #111;
    background: #fff;
  }
  .section, .card, .features-grid > div, .testimonial-card, .contact-block {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
  }
}
