/* ==========================================================================
   MONOCINQUI – Style.css
   Sophisticated Monochrome Financial Webdesign (Flexbox Only, Responsive)
   ========================================================================== */

/* 1. CSS RESET & BASE STYLES ===============================================*/
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, 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.74;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
  background: none;
}
a {
  color: #183152;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
  text-decoration: none;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
}
li {
  margin-bottom: 10px;
}

/* 2. TYPOGRAPHY ===========================================================*/
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: #101014;
  line-height: 1.11;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #183152;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #222328;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #222328;
}

.section, section, .legal-section, .confirmation-section, .contact-section,
.features-section, .about-section, .testimonials-section,
.services-section, .cta-section, .contact-cta-section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}

p, ul, ol {
  font-size: 1rem;
  color: #26272A;
  margin-bottom: 24px;
}

strong, b {
  font-weight: 700;
}

.text-section ul {
  padding-left: 18px;
}
.text-section ul li {
  margin-left: 0;
  margin-bottom: 10px;
  list-style: disc inside;
}
.text-section ol {
  padding-left: 20px;
}
.text-section ol li {
  list-style: decimal inside;
  margin-bottom: 10px;
}

blockquote {
  border-left: 3px solid #222;
  padding-left: 1em;
  color: #222;
  font-style: italic;
  margin: 0 0 20px 0;
  background: #f4f4f9;
}

/* 3. UTILITY & LAYOUT CONTAINER STYLES =====================================*/
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 800px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(0,0,0,0.05);
  padding: 32px 24px;
}
.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;
}

/* 4. HEADER & NAVIGATION ==================================================*/
header {
  background: #fff;
  border-bottom: 1.5px solid #e7e7ec;
  position: relative;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #183152;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f4f4f9;
  color: #101014;
}

.cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: #183152;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 10px 30px;
  font-size: 1rem;
  box-shadow: 0 2px 7px 0 rgba(24,49,82,0.08);
  cursor: pointer;
  text-decoration: none;
  margin-left: 18px;
  transition: background 0.16s, transform 0.18s, box-shadow 0.16s;
}
.cta-button:hover, .cta-button:focus {
  background: #101014;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px 0 rgba(24,49,82,0.19);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #183152;
  margin-left: 16px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #000;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(18,20,28, 0.96);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,.8,.4,1), opacity 0.16s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #49A078;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 90px;
  width: 100%;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.333rem;
  font-weight: 600;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.18s;
  width: max-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #183152;
  color: #49A078;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  .cta-button {
    padding: 10px 18px;
    font-size: 0.98rem;
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* 5. HERO SECTION =========================================================*/
.hero-section {
  background: linear-gradient(130deg, #fff 75%, #e5e6ea 100%);
  border-bottom: 1.2px solid #e7e7ec;
  padding-top: 72px;
  padding-bottom: 72px;
  margin-bottom: 0;
}
.hero-section .content-wrapper {
  max-width: 720px;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #101014;
}
.hero-section p {
  font-size: 1.2rem;
  color: #222328;
  margin-bottom: 30px;
}

/* 6. FEATURES & GRID MODULES ===============================================*/
.features-section .content-wrapper > ul,
.features-section .content-wrapper > ol {
  margin-bottom: 22px;
}
.feature-grid, .service-grid, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .service-item {
  flex: 1 1 235px;
  min-width: 220px;
  max-width: 370px;
  background: #f7f7fa;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(20,30,50,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 24px 28px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img,
.service-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-item:hover, .feature-item:focus, .service-item:hover, .service-item:focus {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 26px rgba(24,49,82,0.12);
}

.awards-affiliations {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
}
.awards-affiliations img {
  width: 54px;
  height: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px 0 rgba(20,30,50,0.04);
  padding: 4px 8px;
}

/* 7. TESTIMONIALS =========================================================*/
.testimonials-section {
  background: #fff;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f4f4f9;
  color: #101014;
  box-shadow: 0 1.5px 8px rgba(17,20,32,0.07);
  border-radius: 16px;
  padding: 26px 34px 20px 28px;
  min-width: 230px;
  max-width: 390px;
  margin-bottom: 20px;
  gap: 20px;
  position: relative;
  border: 1.5px solid #e7e7ec;
  transition: box-shadow 0.17s, transform 0.18s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #101014;
  margin-bottom: 16px;
}
.testimonial-meta {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  color: #183152;
  font-style: normal;
  opacity: 0.88;
  margin-top: -12px;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 22px 0 rgba(24,49,82,0.14);
  transform: translateY(-2px) scale(1.02);
  border-color: #183152;
}

/* 8. CTA & CONFIRMATION SECTIONS ==========================================*/
.contact-cta-section, .cta-section, .confirmation-section {
  background: #f4f4f9;
  border-radius: 20px;
  border: 1.5px solid #e5e7ea;
  box-shadow: 0 3px 15px rgba(24,49,82,0.04);
  margin-bottom: 60px;
}
.contact-cta-section h2, .cta-section h2 {
  color: #183152;
}
.contact-cta-section .cta-button,
.cta-section .cta-button,
.confirmation-section .cta-button {
  margin-top: 24px;
}

/* 9. GENERAL LISTS, DETAILS, FAQS, STYLES =================================*/
ul li strong, ul li b {
  color: #183152;
}
hr {
  border: none;
  border-top: 1px solid #e7e7ec;
  margin: 24px 0;
}

/* 10. FOOTER ==============================================================*/
footer {
  background: #101014;
  color: #f4f4f9;
  padding: 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 20px 38px 20px;
}
.footer-logo img {
  width: 52px;
  height: auto;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #f4f4f9;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.93;
  transition: color 0.16s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #49A078;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #e5e7ea;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 14px;
}
.social-links a img {
  width: 29px;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 1px 8px 0 rgba(20,30,50,0.07);
  transition: box-shadow .13s, transform .13s;
}
.social-links a:hover img,
.social-links a:focus img {
  box-shadow: 0 4px 18px 0 rgba(73,160,120,0.30);
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    gap: 18px;
    padding: 34px 14px 26px 14px;
  }
}

/* 11. RESPONSIVENESS (Mobile-first, Flexbox only) =========================*/
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .header-container {
    padding-top: 7px;
    padding-bottom: 9px;
  }
  .section, section, .features-section, .about-section, .testimonials-section, .services-section, .cta-section, .contact-cta-section {
    padding: 30px 7px 30px 7px;
    margin-bottom: 34px;
  }
  .hero-section {
    padding-top: 38px;
    padding-bottom: 34px;
  }
  .hero-section h1 {
    font-size: 1.5rem;
  }
  h1, .h1 { font-size: 1.3rem; }
  h2, .h2 { font-size: 1.07rem; }
  h3, .h3 { font-size: 0.97rem; }
  .feature-grid, .service-grid, .testimonial-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item {
    min-width: 0;
    max-width: 100%;
    padding: 22px 13px 18px 13px;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 20px 12px 14px 12px;
  }
  .content-wrapper {
    gap: 14px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* 12. CONTENT ALIGNMENT (Mandatory classes) ===============================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* 13. MODAL: COOKIE BANNER ================================================*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #222226;
  color: #f4f4f9;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -4px 18px rgba(27,40,45,0.08);
  padding: 21px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-in 0.42s cubic-bezier(.33,.97,.34,1.01);
}
@keyframes cookie-in {
  0% { transform: translateY(100px); opacity: .2; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-content {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 3px;
  color: #fff;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 9px 22px;
  border-radius: 18px;
  font-size: 0.99rem;
  border: none;
  margin-right: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.5px 7px 0 rgba(24,49,82,0.08);
  margin-bottom: 4px;
  transition: background 0.16s, color 0.15s, transform .09s;
}
.cookie-btn.accept {
  background: #49A078;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #183152;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.settings {
  background: #f4f4f9;
  color: #222226;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e7e7ec;
  color: #183152;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #222226;
  color: #fff;
  border: 1.5px solid #f4f4f9;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f4f4f9;
  color: #183152;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(18,20,28, 0.73);
  z-index: 3101;
  display: none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open { display: block; }
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1.0);
  z-index: 3200;
  background: #fff;
  color: #222328;
  border-radius: 14px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 40px rgba(24,49,82,0.17);
  padding: 28px 38px 34px 38px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 1;
  animation: cookie-modal-in .32s cubic-bezier(.55,.03,.44,1.03);
}
@keyframes cookie-modal-in {
  0% { transform: translate(-50%,-30%) scale(0.92); opacity: .3; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #183152;
  font-size: 1.21rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
}
.cookie-category label {
  cursor: pointer;
  font-weight: 500;
  color: #101014;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #e5e7ea;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #49A078;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.08);
  transition: transform 0.19s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 106px;
}
@media (max-width: 550px) {
  .cookie-modal { padding: 18px 6vw 22px 6vw; }
}

/* 14. MAP/EMBED and UTILITY ===============================================*/
.map-embed {
  margin: 12px 0 8px 0;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 1.5px 8px 0 rgba(24,49,82,0.09);
  min-height: 110px;
}

/* 15. LEGAL SECTIONS =======================================================*/
.legal-section, .confirmation-section {
  background: #f7f7fa;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px rgba(24,49,82,0.07);
  margin-bottom: 46px;
}
.legal-section h1 {
  color: #183152;
  margin-bottom: 22px;
}
.legal-section h2 {
  color: #222328;
  margin-top: 18px;
  margin-bottom: 14px;
}
.legal-section ul {
  margin-bottom: 18px;
}
.legal-section ul li {
  color: #26272A;
}
@media (max-width: 512px) {
  .legal-section, .confirmation-section {
    padding: 10px 3vw 10px 3vw;
  }
}

/* 16. FOCUS, ACCESSIBILITY, INTERACTIVITY ================================*/
:focus {
  outline: 2px dashed #49A078;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #888c92; }
::-moz-placeholder { color: #888c92; }
:-ms-input-placeholder { color: #888c92; }
::placeholder { color: #888c92; }

/* 17. MISC SPACING & CONSISTENCY ==========================================*/
.feature-grid, .service-grid, .testimonial-grid, .card-container, .content-grid {
  gap: 24px;
  margin-bottom: 20px;
}

/* END ====================================================================*/
