/* --- CSS Reset and Normalize --- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #181818;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174873;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 8px;
}

::selection {
  background: #ececec;
  color: #111;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #101010;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #181818;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #181818;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #282828;
}
strong {
  font-weight: 600;
}
.text-section h3 {
  font-size: 1.13rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #222;
}

/* --- Containers and Base Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(22,22,22,0.07);
}

/* Cards & Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fafafa;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(30,34,40,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 26px 0 rgba(20,20,30,0.13);
}
.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;
  align-items: center;
  gap: 20px;
  background: #f5f5f5;
  color: #171717;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(17,17,17,0.08);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 250px;
  max-width: 500px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(22,22,22,0.13);
}
.testimonial-card p {
  font-size: 1.06rem;
  font-style: italic;
  margin: 0 0 6px 0;
  color: #202020;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #7c7c7c;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* --- Navigation --- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 22;
  box-shadow: 0 1px 12px 0 rgba(30,30,36,0.07);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}
header nav img {
  max-height: 44px;
  margin-right: 32px;
  border-radius: 8px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #161616;
  opacity: 0.93;
  padding: 8px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #174873;
  border-bottom: 2px solid #174873;
  opacity: 1;
}
.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  background: transparent;
  color: #174873;
  border: 2px solid #174873;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(23,72,115,0.07);
  cursor: pointer;
  outline: none;
  margin-right: 0.5em;
  margin-top: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.025em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.cta.primary {
  background: #174873;
  color: #fff !important;
  border: 2px solid #174873;
  box-shadow: 0 2px 16px 0 rgba(23,72,115,0.08);
}
.cta.primary:hover, .cta.primary:focus {
  background: #101820;
  border-color: #101820;
  color: #fff !important;
}
.cta.secondary {
  background: #fff;
  color: #174873;
  border: 2px solid #c2c2c2;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F1E6DE;
  color: #174873;
  border-color: #174873;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #181818;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
  z-index: 33;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 32px 0 rgba(20,20,20,0.33);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.71,0.13,0.33,0.99);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #174873;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  color: #181818;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1E6DE;
  color: #174873;
}

@media (max-width: 1024px) {
  header nav {
    gap: 18px;
    padding: 13px 0;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Overlay to dim background when menu open */
.mobile-menu-bg {
  display: none;
}
.mobile-menu.open ~ .mobile-menu-bg {
  display: block;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(12,20,24,0.32);
  transition: background 0.2s;
}

/* --- Footer --- */
footer {
  background: #161616;
  color: #eee;
  padding: 44px 0 18px 0;
  margin-top: 32px;
}
footer .container {
  max-width: 1200px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #eee;
  font-size: 1rem;
  opacity: 0.89;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer .social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .social-links a img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) contrast(1.3);
  transition: filter 0.18s, opacity 0.15s;
  opacity: 0.78;
}
footer .social-links a:hover img, footer .social-links a:focus img {
  filter: none;
  opacity: 1;
}
footer .newsletter-signup {
  flex: 1 1 240px;
  max-width: 320px;
  color: #f5f5f5;
}
footer .newsletter-signup p {
  font-size: 1rem;
  margin-bottom: 9px;
}

/* --- Responsive Layouts --- */
@media (max-width: 900px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
  .section {
    padding: 34px 8px;
    margin-bottom: 38px;
  }
  .card {
    padding: 18px 10px;
  }
  .content-wrapper, .content-grid, .card-container {
    gap: 15px;
  }
  .text-image-section {
    gap: 14px;
  }
  .footer .newsletter-signup {
    max-width: 240px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,.content-grid,.card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .testimonial-card {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}

/* --- Utility Classes --- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.centered { text-align: center; }

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #101010;
  box-shadow: 0 -4px 36px 0 rgba(20,20,20,0.12);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10030;
  align-items: center;
  justify-content: center;
  transition: transform 0.36s cubic-bezier(0.7,0.13,0.32,0.99);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(180%);
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #252525;
  text-align: center;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #c2c2c2;
  margin: 0 2px;
  outline: none;
  cursor: pointer;
  transition: background 0.13s, color 0.18s, border 0.15s;
  background: #f6f6f6;
  color: #181818;
}
.cookie-btn.accept {
  background: #174873;
  color: #fff;
  border: 1px solid #174873;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #101820;
  border-color: #101820;
}
.cookie-btn.reject {
  background: #fff;
  color: #181818;
  border: 1px solid #8DBCB9;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F1E6DE;
  border-color: #174873;
  color: #174873;
}
.cookie-btn.settings {
  background: #F1E6DE;
  color: #174873;
  border: 1px solid #F1E6DE;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #174873;
  border-color: #8DBCB9;
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,22,22,0.41);
  z-index: 10110;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal {
  background: #fff;
  color: #131313;
  border-radius: 12px;
  box-shadow: 0 6px 48px 0 rgba(21,45,71,0.18);
  max-width: 96vw;
  width: 420px;
  padding: 36px 28px 32px 28px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 18px;
  color: #174873;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #174873;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.cookie-category {
  background: #fafafa;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 600;
  color: #174873;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.cookie-category.essential label {
  color: #888;
}
.cookie-category.essential input {
  accent-color: #8DBCB9;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 600px) {
  .cookie-modal { width: 97vw; max-width: 99vw; padding: 25px 10px; }
}

/* --- Animations & Transitions --- */
.cta, .cookie-btn, .mobile-menu,
header nav a, .card, .testimonial-card {
  transition: all 0.18s cubic-bezier(0.45, 0.06, 0.55, 1);
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform;
}

/* --- Monochrome Sophisticated Effects --- */
.card, .testimonial-card, .cookie-modal, .section {
  box-shadow: 0 2px 20px 0 rgba(17,17,17,0.07);
}
.cta.primary, .cookie-btn.accept {
  box-shadow: 0 2px 18px 0 rgba(23,72,115,0.10);
}
.card, .section, .cookie-modal, .testimonial-card {
  border: 1.5px solid #eaeaea;
}

/* --- Forms and Inputs (Generic) --- */
input[type="text"], input[type="email"], textarea, select {
  border: 1px solid #b0b0b0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  background: #fafafa;
  color: #181818;
  margin-bottom: 16px;
  transition: border-color 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  border-color: #174873;
  outline: none;
}
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* --- Accessibility --- */
:focus {
  outline: 2.5px solid #174873;
  outline-offset: 1.5px;
}

/* --- Miscellaneous --- */
hr {
  border: 1px solid #e5e5e5;
  margin: 32px 0;
}
blockquote {
  font-style: italic;
  color: #505050;
  margin: 18px 0 18px 18px;
  border-left: 3.5px solid #eaeaea;
  padding-left: 15px;
}

/* --- Section Headings & Lists --- */
section h2 {
  padding-bottom: 10px;
  border-bottom: 2.5px solid #ececec;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
ul {
  list-style: disc inside;
}
.text-section ul {
  margin-bottom: 14px;
}

/* --- Brand Color Chip --- */
.color-primary { color: #174873; }
.color-secondary { color: #8DBCB9; }

/* --- Hide Elements Utility --- */
[hidden] { display: none !important; }

/* --- End of Comprehensive Monochrome Sophisticated CSS --- */
