/* NeuroBeam Senior - style.css (gradient_modern, flexbox only) */

/* =====================
   CSS RESET & BASELINE
   ===================== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #E9E7DF 0%, #A3B9C7 100%);
  color: #2E5C6E;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #2E5C6E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #255265;
  outline: none;
}
ul, ol {
  margin: 16px 0 16px 24px;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2E5C6E;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
section {
  width: 100%;
  background: none;
}

/* =====================
   CONTAINER & LAYOUTS
   ===================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(46, 92, 110, 0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 320px;
  min-width: 280px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(46, 92, 110, 0.19);
  transform: translateY(-4px) scale(1.015);
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(46, 92, 110, 0.09);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 640px;
  color: #21343c;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #21343c;
}
.testimonial-info {
  font-size: 0.97rem;
  color: #2E5C6E;
  font-weight: 600;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px 0 rgba(46, 92, 110, 0.07);
}

.section:last-child {
  margin-bottom: 0;
}

/* ===== TABLES (for service pricing chart) ===== */
.service-pricing-chart {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(46,92,110,0.06);
}
.service-pricing-chart th,
.service-pricing-chart td {
  padding: 14px 18px;
  text-align: left;
  font-size: 1.06rem;
}
.service-pricing-chart th {
  background: #A3B9C7;
  color: #2E5C6E;
  font-weight: 700;
}
.service-pricing-chart tr:nth-child(even) td {
  background: #f6f8fa;
}

/* =============
   HEADER
   ============= */
header {
  width: 100%;
  background: linear-gradient(100deg, #2E5C6E 75%, #A3B9C7 100%);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 110;
  box-shadow: 0 4px 20px 0 rgba(46,92,110,0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 16px;
}
header nav {
  display: flex;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E9E7DF;
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 8px 13px;
  transition: background 0.18s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #fff;
  color: #2E5C6E;
}
.cta-btn {
  background: linear-gradient(90deg, #A3B9C7 0%, #2E5C6E 85%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(46, 92, 110, 0.10);
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.18s, transform 0.15s;
  outline: none;
  margin-left: 16px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(46, 92, 110, 0.07);
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #2E5C6E 0%, #A3B9C7 90%);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(46,92,110,0.14);
  transform: translateY(-2px) scale(1.05);
}
.cta-btn.secondary {
  background: linear-gradient(90deg, #E9E7DF 0%, #A3B9C7 90%);
  color: #2E5C6E;
  border: 2px solid #A3B9C7;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: linear-gradient(90deg, #A3B9C7 0%, #E9E7DF 85%);
  color: #fff;
}

/* ===============
   MOBILE MENU
   =============== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  display: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 200;
  transition: color 0.15s;
  border-radius: 6px;
  width: 48px;
  height: 48px;
  align-items: center;
}
.mobile-menu-toggle:focus {
  background: #A3B9C7;
  color: #2E5C6E;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #2E5C6E 85%, #A3B9C7 100%);
  box-shadow: -3px 0 24px 0 rgba(46, 92, 110, 0.12);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.85,0,0.15,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 20px 8px auto;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.14s;
  border-radius: 6px;
}
.mobile-menu-close:focus {
  color: #A3B9C7;
  background: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 32px;
  margin-top: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #E9E7DF;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 12px;
  border-radius: 10px;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #2E5C6E;
}

/* Hide desktop nav / show burger on mobile */
@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    margin-left: 0;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================
   SECTIONS, GRIDS, FEATURES
   ============================ */
.feature-grid,
.services-list,
.article-list,
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin: 24px 0 16px 0;
}
.feature-grid li,
.services-list li,
.article-list li,
.tips-grid li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(46, 92, 110, 0.08);
  padding: 22px 18px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.19s, transform 0.14s;
  min-width: 220px;
}
.feature-grid li img,
.services-list li img {
  width: 38px;
  height: 38px;
  margin-bottom: 7px;
}
.feature-grid li:hover,
.services-list li:hover,
.article-list li:hover,
.tips-grid li:hover {
  box-shadow: 0 5px 22px 0 rgba(46, 92, 110, 0.15);
  transform: translateY(-3px);
}
.services-list li {
  gap: 12px;
}
.service-price {
  display: block;
  font-size: 1.1rem;
  color: #2E5C6E;
  font-weight: 700;
  margin-top: 7px;
}
.tips-grid li {
  background: #A3B9C7;
  color: #fff;
  font-weight: 500;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .feature-grid,
  .services-list,
  .article-list,
  .tips-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* PROCESS STEPS (ol for how-it-works) */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 26px 0 20px 0;
  width: 100%;
}
.process-steps li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(46, 92, 110, 0.08);
  padding: 22px 16px 18px 16px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 180px;
  position: relative;
}
.process-steps li img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.process-steps li strong {
  color: #2E5C6E;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
@media (max-width: 950px) {
  .process-steps {
    flex-direction: column;
    gap: 16px;
  }
  .process-steps li {
    min-width: inherit;
  }
}

/* =================
   FAQ Accordion
   ================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.faq-accordion div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(46, 92, 110, 0.09);
  padding: 18px 16px;
  transition: box-shadow 0.16s, transform 0.10s;
}
.faq-accordion h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #2E5C6E;
}
.faq-accordion p {
  font-size: 1rem;
  color: #234255;
}
.faq-accordion div:hover {
  box-shadow: 0 6px 22px 0 rgba(46,92,110,0.16);
  transform: translateY(-2px);
}

/* =======================
   TEXT/INFO SECTIONS
   ======================= */
.text-section, .workshop-overview, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin: 6px 0 14px 24px;
}
.text-section h2, .text-section h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.contact-details ul {
  margin: 7px 0 0 20px;
}
.contact-details li {
  margin-bottom: 4px;
}
strong {
  font-weight: 700;
}

/* =======================
   FOOTER
   ======================= */
footer {
  width: 100%;
  background: linear-gradient(90deg, #2E5C6E 85%, #A3B9C7 100%);
  padding: 0;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container {
  padding: 32px 16px 16px 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-top: 6px;
  align-items: center;
}
.footer-nav a {
  color: #E9E7DF;
  font-size: 1.08rem;
  border-radius: 7px;
  padding: 6px 11px;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #2E5C6E;
}
.footer-info {
  margin-top: 8px;
  color: #E9E7DF;
  font-size: 0.96rem;
}
.social-links {
  display: flex;
  gap: 14px;
}

@media (min-width: 750px) {
  footer .content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
  }
  .footer-nav {
    margin-top: 0;
  }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #2E5C6E;
  color: #fff;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -4px 20px 0 rgba(46,92,110,0.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  animation: fadeInCookie 0.44s;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}
.cookie-banner .cookie-btn {
  min-width: 120px;
  padding: 9px 20px;
  border-radius: 20px;
  background: #A3B9C7;
  color: #2E5C6E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  margin: 0 7px;
  cursor: pointer;
  transition: background 0.16s, color 0.17s, box-shadow 0.13s;
  box-shadow: 0 1px 7px 0 rgba(163,185,199,0.14);
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #2E5C6E;
}
.cookie-banner .cookie-btn.settings {
  background: #E9E7DF;
  color: #2E5C6E;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #A3B9C7;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(46,92,110,0.32);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(46, 92, 110, 0.19);
  padding: 36px 28px 28px 28px;
  max-width: 450px;
  min-width: 0;
  width: 92vw;
  color: #2E5C6E;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: fadeInCookieModal 0.37s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal .modal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 3px 0 7px 0;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #2E5C6E;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  width: 24px;
  height: 24px;
  accent-color: #2E5C6E;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.6rem;
  color: #2E5C6E;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.13s,color 0.17s;
}
.cookie-modal .close-modal-btn:hover {
  color: #fff;
  background: #A3B9C7;
}

.cookie-modal .cookie-btn {
  margin-top: 14px;
}
/* ======================
   RESPONSIVE DESIGN
   ====================== */
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 14px;
    padding: 13px 8px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
    padding: 17px 10px;
  }
  .card-container, .testimonial-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cookie-modal .modal-content {
    padding: 18px 8px 18px 8px;
  }
}

/* =====================
   MICRO-INTERACTIONS
   ===================== */
button, .cta-btn, .cookie-btn, input, select {
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.10s;
}

/* =====================
   ADDITIONAL UTILITIES
   ===================== */
.hide-desktop { display: none !important; }
.hide-mobile { display: initial !important; }
@media (max-width: 768px) {
  .hide-desktop { display: initial !important; }
  .hide-mobile { display: none !important; }
}

/* =====================
   SCROLLBAR MODERN
   ===================== */
::-webkit-scrollbar {
  width: 8px;
  background: #E9E7DF;
}
::-webkit-scrollbar-thumb {
  background: #A3B9C7;
  border-radius: 4px;
}

/* =====================
   FOCUS VISIBLE STYLES
   ===================== */
:focus-visible {
  outline: 2.5px solid #2E5C6E;
  outline-offset: 2px;
}

/* ================
   PRINT FRIENDLY
   ================ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, .content-wrapper, .section { background: #fff; color: #2E5C6E; }
}

/* =====================
   END OF CSS FILE
   ===================== */
