/* --- CSS RESET & BASE TYPOGRAPHY --- */
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,
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 {
  line-height: 1.15;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232323;
  background: #FAFAFA;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #3B394C;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #B38E55;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #070707;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: .9em; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p {
  line-height: 1.7;
  margin-bottom: 1em;
  font-size: 1rem;
}
blockquote {
  font-size: 1.13rem;
  line-height: 1.5;
  color: #252525;
  border-left: 4px solid #3B394C;
  padding-left: 14px;
  background: #F6F3EB;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
}
strong, b {
  font-weight: bold;
  color: #1A1A1A;
}

/* CONTAINER & LAYOUT ------------------------------------ */
.container {
  width: 100%;
  max-width: 1096px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  max-width: 780px;
  margin: 0 auto;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(41, 39, 47, 0.07);
}

/* --- FEATURE GRID/FLEX CARDS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  background: #FAFAFA;
  border-radius: 16px;
  padding: 22px 22px 18px 22px;
  box-shadow: 0 2px 14px 0 rgba(59, 57, 76, 0.06);
  min-width: 200px;
  max-width: 320px;
  transition: box-shadow 0.25s, transform 0.22s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
}
.feature-item h3 {
  font-size: 1.11rem;
  color: #3B394C;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.feature-item p {
  color: #414141;
  font-size: 0.98rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 32px -2px rgba(59, 57, 76, 0.13);
  transform: translateY(-4px) scale(1.03);
  outline: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(41, 39, 47, 0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  transition: box-shadow 0.24s, transform 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(59, 57, 76, 0.19);
  transform: translateY(-6px) scale(1.025);
  outline: none;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(59, 57, 76, 0.09);
  border-left: 4px solid #3B394C;
  flex-wrap: wrap;
  transition: box-shadow 0.19s, border-left-color 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 32px 0 rgba(41,39,47,0.18);
  border-left-color: #B38E55;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  padding-left: 0;
  margin-bottom: 0;
  color: #232323;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
}
.testimonial-card p {
  margin: 0;
  font-weight: bold;
  color: #3B394C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px;
  }
}

/* BUTTONS & CALLS TO ACTION ---------------------------- */
.cta-btn, .cookie-btn, .mobile-menu-close, .mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 44px;
  padding: 0 32px;
  background: #3B394C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  box-shadow: 0 1px 4px 0 rgba(59, 57, 76, 0.12);
  cursor: pointer;
  line-height: 1.3;
  transition: background 0.22s, color 0.2s, box-shadow 0.18s, transform 0.22s;
  text-align: center;
  margin: 12px 0 0 0;
  outline: none;
}
.cta-btn:hover,.cookie-btn:hover,
.cta-btn:focus, .cookie-btn:focus {
  background: #B38E55;
  color: #232323;
  transform: translateY(-2px) scale(1.04);
}
.cta-btn:active, .cookie-btn:active { background: #5E5B71; }

/* --- NAVIGATION -------------------------------------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: flex-start;
  padding: 25px 0 17px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #232323;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav .cta-btn {
  margin-left: 22px;
  background: #B38E55;
  color: #232323;
  box-shadow: 0 2px 10px 0 rgba(179, 142, 85, 0.12);
  font-weight: 700;
  border-radius: 24px;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: #3B394C;
  color: #fff;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E2DFDF;
  color: #3B394C;
}
.main-nav img {
  height: 40px;
  margin-right: 18px;
  vertical-align: middle;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  background: #fff;
  color: #3B394C;
  font-size: 2.4rem;
  border: none;
  box-shadow: none;
  border-radius: 10px;
  margin-left: auto;
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 1049;
  width: 50px;
  height: 50px;
  justify-content: center;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 24, 30, 0.94);
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.77,.17,.33,.93);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 20px 30px 0 0;
  min-width: auto;
  min-height: auto;
  padding: 0;
  border-radius: 50%;
  box-shadow: none;
  width: 48px;
  height: 48px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B38E55;
  background: #39384e3d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 60px 8vw 0 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 600;
  padding: 9px 0 9px 4px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.19s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F3EB;
  color: #3B394C;
}

@media (max-width: 460px) {
  .mobile-nav {
    margin: 48px 10vw 0 22px;
    gap: 13px;
  }
  .mobile-menu-close {
    margin-right: 14px;
  }
}

/* --- FOOTER --- */
footer {
  background: #232226;
  color: #fff;
  width: 100%;
  padding: 32px 0 0 0;
  box-shadow: 0 -7px 20px 0 rgba(41,39,47,0.07);
}
footer .container {
  max-width: 1140px;
  padding-bottom: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px 46px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #C8C7CD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B38E55;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
.footer-branding img {
  height: 32px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #F6F3EB;
  font-size: 0.99rem;
  line-height: 1.6;
}
.footer-contact img {
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

@media (max-width: 1000px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 24px;
    margin-bottom: 6px;
  }
}
@media (max-width: 600px) {
  footer .container { padding: 0 8px 8px 8px; }
}

/* --- COOKIE CONSENT BANNER ---------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232226;
  color: #fff;
  padding: 22px 20px 22px 32px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -4px 36px 0 rgba(41,39,47,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  z-index: 1200;
  transition: transform 0.32s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-content {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #F6F3EB;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  min-width: 100px;
  min-height: 40px;
  font-size: 0.97rem;
  padding: 0 20px;
  box-shadow: 0 1px 4px 0 rgba(59, 57, 76, 0.09);
  background: #B38E55;
  color: #232226;
}
.cookie-btn.secondary {
  background: #fff;
  color: #3B394C;
  border: 1.5px solid #B38E55;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #B38E55;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 9px 17px 13px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
  }
}

/* === Cookie Consent Modal === */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  background: rgba(59, 57, 76, 0.32);
  backdrop-filter: blur(2.5px);
  transition: opacity 0.32s;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -55%) scale(1);
  background: #fff;
  color: #232323;
  border-radius: 22px;
  box-shadow: 0 6px 48px 0 rgba(59,57,76,0.22);
  padding: 36px 32px 26px 32px;
  width: 96%;
  max-width: 410px;
  z-index: 1310;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.37s, opacity 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.85);
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #3B394C;
  margin-bottom: 6px;
}
.cookie-modal p {
  font-size: .98rem;
  color: #232323;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #F6F3EB;
  padding: 13px 10px;
  border-radius: 11px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category .cookie-toggle {
  display: inline-flex;
  align-items: center;
  width: 45px;
  height: 24px;
  margin-left: auto;
  position: relative;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D8D7DB;
  border-radius: 12px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .slider {
  background: #B38E55;
}
.cookie-toggle .slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(21px);
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 510px) {
  .cookie-modal {
    padding: 21px 8px 17px 8px;
  }
}

/* --- SECTION SPACING / LAYOUT RULES ------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 600px){
  section { padding: 22px 0 0 0; }
}

/* --- RESPONSIVE -------------------------------------- */
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 150px;
    max-width: 46%;
    padding: 15px 10px 13px 15px;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 7px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .feature-grid { gap: 10px; }
  .feature-item { min-width: 120px; max-width: 98%; }
}
@media (max-width: 410px) {
  .footer-branding img { height: 24px; }
  .footer-nav { font-size: 0.85rem; }
}

/* --- UTILITY ----------------------------------------- */
.d-none {
  display: none !important;
}
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* --- VISUAL MICROS ----------------------------------- */
::-webkit-scrollbar {
  width: 8px; background: #F6F3EB;
}
::-webkit-scrollbar-thumb {
  background: #D6D4D8; border-radius: 9px;
}
@media (max-width: 480px) {
  ::-webkit-scrollbar { display: none; }
}

/* --- MISC -------------------------------------------- */
hr {
  border: none; border-top: 1px solid #ECECEC;
  margin: 32px 0 16px 0;
}

/* --- FOCUS OUTLINES --- */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .feature-item:focus-within {
  outline: 2px solid #B38E55;
  outline-offset: 2px;
  z-index: 2;
}

/* Loader for async overlays (e.g. cookie) */
.loader {
  display: inline-block;
  width: 32px; height: 32px;
  border: 3px solid #F6F3EB;
  border-top: 3px solid #3B394C;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* END OF STYLE.CSS FOR NEURODASH HOME */
