/* CSS RESET & NORMALIZE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #f7f7f8;
  color: #1a1a1a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #101012;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.13rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
  color: #232324;
  line-height: 1.8;
}
strong {
  font-weight: 700;
  color: #101012;
}
em {
  font-style: italic;
}

/* UTILITY CLASSES */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(40, 40, 40, 0.12);
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(16, 16, 16, 0.18);
}
.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: 24px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(10,10,10,0.07);
  border: 1px solid #eaeaea;
  max-width: 500px;
  font-size: 1.08rem;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(22,22,22,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 16px;
}
.icon-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .feature-grid, .icon-row, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 12px;
    max-width: 100%;
  }
}

/* NAVIGATION & HEADER */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dedede;
  position: sticky;
  top: 0; z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav > a img {
  height: 40px;
  margin-right: 10px;
}
nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 24px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-size: 1.02rem;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
nav ul li a:hover, nav ul li a:focus {
  color: #101012;
  background: #ededed;
}
.cta.primary {
  display: inline-block;
  margin-left: 32px;
  color: #fff;
  background: #101012;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.04em;
  padding: 12px 30px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.17s;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #101012;
  outline: 1.5px solid #101012;
  box-shadow: 0 4px 14px rgba(10,10,10, 0.18);
  transform: translateY(-1px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 25px;
  top: 21px;
  font-size: 2rem;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  color: #101012;
  z-index: 41;
  transition: background 0.19s, box-shadow 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #101012;
  color: #fff;
  box-shadow: 0 2px 8px rgba(10,10,10,0.11);
}

.mobile-menu {
  position: fixed;
  background: #111;
  color: #fff;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.6,0.12,0.19,1.03);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 2px 0 24px rgba(10,10,10, 0.36);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 24px 24px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ededed;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 36px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  padding: 10px 6px 10px 2px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181819;
  color: #ededed;
}

@media (max-width: 1024px) {
  header .container nav ul, header .container .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 10px;
    min-height: 56px;
  }
  nav {
    gap: 18px;
  }
}

/* FOOTER */
footer {
  background: #111;
  color: #ededed;
  padding: 44px 0 24px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
footer nav a {
  color: #ededed;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 400;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 4px;
  font-size: 0.98rem;
  padding: 4px 6px;
  transition: background 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #222;
  color: #fff;
}
footer p, footer address {
  color: #c7c7c7;
  font-size: 0.95rem;
}
footer address a {
  color: #ededed;
  text-decoration: underline dotted;
}

/* BUTTONS */
button, .cta {
  cursor: pointer;
  outline: none;
  transition: background 0.22s, color 0.22s, border 0.22s, transform 0.15s;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  font-size: 1rem;
  background: #111;
  color: #fff;
  font-weight: 600;
}
button:hover, button:focus {
  background: #fff;
  color: #111;
  outline: 1.4px solid #181819;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(40,40,40,0.08);
  border-radius: 14px;
  overflow: hidden;
}
thead tr {
  background: #101012;
  color: #fff;
}
th, td {
  padding: 18px 16px;
  text-align: left;
  font-size: 1.07rem;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tbody tr:nth-child(even) {
  background: #f7f7f7;
}
tbody tr:nth-child(odd) {
  background: #fff;
}

/* LISTS */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* MONOCHROME SOPHISTICATED SECTIONS AND CARDS */
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px rgba(18,18,18,0.11);
  padding: 32px 28px 18px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}
.service-card:hover {
  box-shadow: 0 6px 32px rgba(16,16,16,.16);
}
.service-card img {
  width: 50px;
  height: 50px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 12px;
}
.faq-list > div {
  background: #fff;
  box-shadow: 0 1px 8px rgba(24,24,24,0.09);
  border-radius: 12px;
  padding: 20px 24px 13px 24px;
  margin-bottom: 14px;
}
.faq-list h3 {
  margin-bottom: 8px;
}

/* ICON ROWS & FEATURES */
.icon-row img {
  height: 44px;
  width: auto;
}
.feature-grid > div, .feature-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 0.5px 8px rgba(24,24,24,0.06);
  padding: 28px 22px 18px 22px;
  min-width: 210px;
  flex: 1 1 210px;
  max-width: 255px;
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .feature-grid > div, .service-card, .faq-list > div, .testimonial-card {
    padding: 18px 8px 14px 12px;
  }
}

/* LINKS */
a {
  color: #181819;
  text-decoration: underline;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #101012;
  text-decoration: underline solid;
}

/* VISUAL HIERARCHY & SPACING */
.section > .container > .content-wrapper > h2 {
  margin-bottom: 12px;
}
.section > .container > .content-wrapper > p {
  margin-bottom: 22px;
}

/* RESPONSIVE MODIFIERS */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .cta.primary { padding: 10px 18px; font-size: 1rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 501;
  background: #1a1a1c;
  color: #f5f5ed;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  padding: 22px 8vw 22px 6vw;
  box-shadow: 0 -2px 18px rgba(10,10,10,0.18);
  font-size: 1.02rem;
  transition: transform 0.36s;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  background: #fff;
  color: #101012;
  border-radius: 18px;
  border: 1.4px solid #ced0d4;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(10,10,10,0.11);
  transition: background 0.15s, color 0.15s, border 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #101012;
  color: #fff;
  border: 1.5px solid #ededed;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,32,32,0.74);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #111;
  border-radius: 22px;
  box-shadow: 0px 8px 40px rgba(20,20,20,0.19);
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 82vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #f6f6fa;
  border-radius: 10px;
  padding: 12px 14px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #19191a;
  width: 18px;
  height: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #222;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #707070;
}
.cookie-modal .cta.primary {
  margin-left: 0;
  margin-top: 4px;
}

@media (max-width: 500px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 20px 10px 12px 10px;
  }
}

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .cta.primary, .card, .service-card, .testimonial-card {
    transition: all 0.35s cubic-bezier(0.5,0.23,0.33,1.1);
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  background: #ededed;
}
::-webkit-scrollbar-thumb {
  background: #cacaca;
  border-radius: 8px;
}

/* SELECTION COLOR */
::selection {
  background: #181819;
  color: #ededed;
}

/* HIDE outline on click but show on tab */
:focus:not(:focus-visible) {
  outline: none;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Roboto', Arial,sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1.3px solid #cfcfd0;
  border-radius: 8px;
  margin-bottom: 18px;
  width: 100%;
  background: #fff;
  color: #111;
  transition: border 0.23s;
}
input:focus, textarea:focus {
  border: 1.5px solid #181819;
  outline: none;
}

/* Additional: Visual Dividers for Sophisticated Monochrome */
div:not(.container):not(.content-wrapper):not(.feature-grid):not(.faq-list):not(.icon-row):not(.service-card):not(.testimonial-card):not(.mobile-menu):not(.cookie-modal) > hr,
.section hr {
  border: none;
  border-top: 1.3px solid #d1d1d3;
  margin: 32px 0;
}

/* END OF STYLE */
