/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  background: none;
}
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  background: #fff;
  color: #161616;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.77,0,0.175,1);
}
ul, ol {
  padding-left: 24px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #101010;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 16px; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }
p {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 18px;
}
strong { font-weight: 700; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1px solid #ededed;
  width: 100%;
  z-index: 30;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

header img {
  height: 46px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #232323;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #173268;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #101010;
  color: #fff;
  padding: 10px 32px;
  font-size: 1.08rem;
  border-radius: 28px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 18px 0 rgb(16 16 16 / 9%);
  transition: background 0.18s, color 0.2s, transform 0.2s;
  margin-left: 18px;
  cursor: pointer;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #232323;
  color: #35A19C;
  transform: translateY(-2px) scale(1.035);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 2rem;
  color: #173268;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 102;
  transition: color 0.18s, background 0.18s;
}

.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,22,22,0.98);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open.visible {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 32px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #35A19C; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 0 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus { color: #35A19C; background: #232323; }

/* --- HERO & SECTION GENERAL --- */
main {
  background: #fff;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
  position: relative;
}
.hero {
  background: #101010;
  color: #fff;
  box-shadow: 0 2px 44px 0 rgb(22 22 22 / 10%);
}
.hero .container {
  justify-content: center;
  align-items: center;
  min-height: 310px;
  gap: 0;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.features, .services, .about, .contact, .legal, .confirmation, .cta, .testimonials {
  background: #fff;
  color: #232323;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 32px 0 0 0;
  padding: 0;
}
.features-grid li {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgb(22 22 22 / 5%);
  padding: 28px 22px 20px 22px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.21s, border 0.21s, transform 0.22s;
}
.features-grid li:hover, .features-grid li:focus-within {
  box-shadow: 0 6px 24px 0 rgb(22 22 22 / 14%);
  border-color: #d3d3d3;
  transform: translateY(-3px) scale(1.015);
}
.features-grid img {
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(100%);
  opacity: 0.88;
}
.features-grid h3 { font-size: 1.13rem; margin-bottom: 3px; }
.features-grid strong { color: #173268; font-weight: 600; }

/* --- SERVICES LIST --- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 28px 0 0 0;
  padding: 0;
}
.services-list li {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  box-shadow: 0 1px 12px 0 rgb(22 22 22 / 4%);
  padding: 28px 22px 16px 22px;
  min-width: 245px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border 0.18s;
}
.services-list li:hover, .services-list li:focus-within {
  box-shadow: 0 4px 24px 0 rgb(22 22 22 / 13%);
  border-color: #bcbcbc;
}
.services-list h3 {
  margin-bottom: 7px;
  font-size: 1.11rem;
}
.services-list strong { color: #173268; font-weight: 600; font-size: 1rem; }

/* --- ABOUT SECTION, TEXT SECTIONS --- */
.text-section {
  background: #F8F8F8;
  padding: 32px 28px;
  border-radius: 14px;
  box-shadow: 0 1px 12px 0 rgb(22 22 22 / 3%);
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul {
  margin-bottom: 14px;
  padding-left: 24px;
  color: #292929;
}
.text-section li { margin-bottom: 9px; }
.text-section a { color: #173268; text-decoration: underline; }
.text-section a:hover { color: #35A19C; }

/* --- CTA SECTION --- */
.cta {
  background: #101010;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 28px 0 rgb(22 22 22 / 9%);
}
.cta .container { align-items: center; }
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2, .cta p { color: #fff; }
.cta .cta-primary {
  margin-top: 18px;
  background: #35A19C;
  color: #101010;
}
.cta .cta-primary:hover { background: #173268; color: #fff; }

/* --- TESTIMONIALS --- */
.testimonials .container { max-width: 900px; }
.testimonials .content-wrapper {
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #FAFAFA;
  border: 1px solid #ececec;
  box-shadow: 0 1px 14px 0 rgb(30 30 30 / 10%);
}
.testimonial-card p {
  color: #101010;
  font-size: 1.14rem;
  margin-bottom: 6px;
}
.testimonial-meta {
  color: #173268;
  font-size: 0.98rem;
  font-style: italic;
}

/* --- CONFIRMATION --- */
.confirmation .text-section {
  text-align: center;
  max-width: 550px;
  padding: 32px 20px;
}
.confirmation .cta-primary { margin-top: 20px; }

/* --- LEGAL SECTIONS (PRIVACY, GDPR, COOKIES, TERMS) --- */
.legal .text-section {
  background: #F4F4F4;
  color: #1A1A1A;
}
.legal h1, .legal h2 {
  color: #173268;
  font-family: 'Montserrat', Arial, sans-serif;
}
.legal ul li:before {
  content: "• ";
  color: #232323;
}

/* --- FOOTER --- */
footer {
  background: #232323;
  color: #ebebeb;
  width: 100%;
  box-shadow: 0 -1px 18px 0 rgb(22 22 22 / 6%);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-legal, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: 40px;
}
.footer-nav a,
.footer-legal a,
.footer-contact a {
  color: #ebebeb;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.2s;
}
.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  color: #35A19C;
}
.footer-social a {
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 0.68;
}
footer p { color: #ebebeb; font-size: 1rem; }

/* --- BUTTONS --- */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 30px;
  border-radius: 24px;
  border: none;
  background: #173268;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 rgb(23 50 104 / 4%);
  transition: background 0.17s, color 0.15s, transform 0.14s;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #35A19C;
  color: #101010;
  transform: translateY(-2px) scale(1.03);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #232323;
  color: #fff;
  padding: 26px 18px 20px 18px;
  box-shadow: 0 -3px 23px 0 rgb(16 16 16 / 16%);
  z-index: 1003;
  font-size: 1rem;
  animation: slidein-cookie 0.55s ease;
}
@keyframes slidein-cookie {
  from { transform: translateY(180px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 10px;
  padding: 8px 21px;
  font-size: 1rem;
  border-radius: 21px;
  background: #35A19C;
  color: #101010;
  border: none;
  font-weight: 600;
  transition: background 0.13s, color 0.12s;
}
.cookie-banner button.reject {
  background: #ededed;
  color: #232323;
  margin-left: 8px;
}
.cookie-banner button.settings {
  background: #173268;
  color: #fff;
  margin-left: 8px;
}
.cookie-banner button:hover,
.cookie-banner button:focus { background: #232323; color: #fff; }
.cookie-banner a { color: #35A19C; text-decoration: underline; }
.cookie-banner a:hover { color: #fff; }

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.86);
  z-index: 1005;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #161616;
  border-radius: 20px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 6px 56px 0 rgb(22 22 22 / 25%);
  padding: 34px 28px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  transform: translateY(32px);
  animation: popupCookie 0.32s cubic-bezier(0.77,0,0.175,1);
}
@keyframes popupCookie {
  from { opacity: 0; transform: translateY(120px); }
  to   { opacity: 1; transform: translateY(32px); }
}
.cookie-modal h3 {
  color: #173268;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.cookie-category {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #232323;
  margin-bottom: 2px;
  font-weight: 600;
}
.cookie-modal .category-toggle {
  margin-left: 12px;
  accent-color: #173268;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  width: 100%;
  margin-top: 12px;
}
.cookie-modal-actions button {
  padding: 8px 19px;
  font-size: 1rem;
  border-radius: 18px;
  background: #173268;
  color: #fff;
  border: none;
  font-weight: 600;
}
.cookie-modal-actions button.alternate {
  background: #35A19C;
  color: #101010;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #232323;
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: none;
  color: #232323;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus { color: #35A19C; }

/* --- UTILITY & FLEXBOX CLASSES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FAFAFA;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgb(22 22 22 / 5%);
  border: 1px solid #ececec;
  padding: 27px 18px;
  min-width: 200px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
  .features-grid li, .services-list li, .card {
    min-width: 175px;
    flex-basis: 44%;
  }
}
@media (max-width: 870px) {
  .container { max-width: 100vw; }
  .features-grid, .services-list, .card-container, .content-grid {
    gap: 14px;
  }
  .features-grid li, .services-list li, .card {
    min-width: 110px;
    flex-basis: 98%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .main-nav {
    display: none !important;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 9px 18px;
    margin-left: 0;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 0;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 15px;
    background: none;
  }
  .features-grid, .services-list {
    flex-direction: column;
    gap: 15px;
  }
  .features, .about, .contact, .legal, .confirmation, .cta {
    padding: 24px 7px;
    margin-bottom: 36px;
  }
  .card {
    padding: 16px 10px;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .text-section {
    padding: 18px 8px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 17px;
    align-items: flex-start !important;
  }
  .footer-nav,.footer-legal,.footer-contact,.footer-social {
    margin-right: 0;
    margin-bottom: 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    padding-top: 26px;
    padding-bottom: 14px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  .cookie-banner { flex-direction: column; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
  .cookie-modal { padding: 20px 8px 17px 11px; max-width: 98vw; }
}

/* --- ANIMATIONS --- */
.cta-primary, button, .btn {
  transition: background 0.18s, color 0.17s, transform 0.18s;
}
.features-grid li, .services-list li, .card, .testimonial-card {
  transition: box-shadow 0.21s, border 0.19s, transform 0.16s;
}

/* --- HIGH CONTRAST (for monochrome_sophisticated) --- */
body, section, .container, .content-wrapper, .text-section, .card, .card-container, .footer, .about, .features, .services, .contact, .legal, .cta {
  color: #101010;
}
.hero, .cta {
  background: #101010 !important;
  color: #fff !important;
}

/* --- ELEVATION & SUBTLE SHADOWS --- */
.features-grid li, .services-list li, .testimonial-card, .card {
  box-shadow: 0 2px 14px 0 rgb(22 22 22 / 6%);
}

/* --- MICRO INTERACTIONS --- */
.card:active, .features-grid li:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 5px 0 rgb(22 22 22 / 4%);
}

/* --- SCROLLBAR STYLES (Webkit, optional) --- */
::-webkit-scrollbar {
  width: 11px;
  background: #f7f7f7;
}
::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bcbcbc;
}

/* --- CUSTOM FONTS (GOOGLE FONTS IMPORT, Fallbacks) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');
