/* Neuromodulators page-specific styles (loaded after styles.css) */

/* Page hero */
.page-hero{
  background: var(--bg-main);
  padding: 64px 18px 46px;
  position: relative;
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(1100px 520px at 18% 0%,
    rgba(255,255,255,0.42),
    rgba(255,255,255,0) 60%);
  opacity: .9;
}

.page-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(20,20,20,0.72);
  font-weight: 600;
  position: relative;
}

.page-hero h1{
  font-family: var(--serif);
  font-size: clamp(34px, 5.6vw, 54px);
  line-height: 1.05;
  margin: 0 0 12px;
  position: relative;
}

.page-lede{
  margin: 0 0 22px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  position: relative;
}

.page-meta{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 22px 0 28px;
  position: relative;
}

.meta-card{
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(20,20,20,0.08);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.05);
}

.meta-title{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(20,20,20,0.74);
  font-weight: 600;
}

.meta-text{
  margin: 0;
  color: rgba(20,20,20,0.72);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 900px){
  .page-meta{ grid-template-columns: 1fr 1fr 1fr; }
}

/* Content section */
.page-section{
  background: var(--bg-section);
  padding: 76px 18px 92px;
  position: relative;
}

.page-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(156,107,78,0.28), transparent);
}

.page-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

@media (min-width: 980px){
  .page-grid{
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
  }
}

.page-body{
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(20,20,20,0.07);
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.055);
}

.page-body h2{
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 10px;
}

.page-body p{
  margin: 0 0 16px;
  color: var(--muted);
}

.subhead{
  margin: 18px 0 10px;
  font-weight: 600;
  color: rgba(20,20,20,0.88);
}

.fine-note{
  margin-top: -4px;
  font-size: 14px;
  color: rgba(20,20,20,0.70);
}

.bullet{
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
}

.pricing-card{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(20,20,20,0.07);
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.05);
  margin: 10px 0 18px;
}

/* Aside */
.page-aside{
  display: grid;
  gap: 14px;
}

.aside-card{
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(20,20,20,0.07);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.055);
}

.aside-title{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: rgba(20,20,20,0.75);
  font-weight: 600;
}

.aside-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.aside-list li{
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.aside-list li::before{
  content:"";
  position:absolute;
  left:0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(156,107,78,0.85);
}

.aside-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

/* Bottom CTA */
.page-cta{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(20,20,20,0.12);
}

/* Neuromodulator image in right sidebar */
.neuromod-aside-image{
  padding: 0;
  overflow: hidden;
}

.neuromod-aside-image img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: 50% 35%;
}

@media (min-width: 980px){
  .neuromod-aside-image img{
    max-height: 320px;
  }
}

/* How-it-works section */
.how-it-works{
  margin: 22px 0 14px;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(20,20,20,0.07);
  box-shadow: 0 18px 40px rgba(0,0,0,0.05);
}

.how-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.how-it-works .copy h2{
  margin-top: 0;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullets li{
  margin: 8px 0;
}

.media-card{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(255,255,255,0.06);
}

.media-card img{
  display: block;
  width: 100%;
  height: auto;
}

.caption{
  margin: 0;
  padding: 12px 12px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  background: rgba(10,10,10,0.92);
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 980px){
  .how-grid{
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
  }
}


/* Mobile: center ONLY in-page hair CTAs (not floating) */
@media (max-width: 820px){
  .page-hero .cta.whatsapp-cta,
  .page-cta .cta.whatsapp-cta{
    display: flex !important;
    width: fit-content !important;
    max-width: 100%;
    margin: 14px auto 0 !important;

    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }
}

/* MOBILE: put the face image section FIRST (right after hero) */
@media (max-width: 820px){

  /* Stack the two main columns (body + aside) */
  .page-grid{
    display: flex !important;
    flex-direction: column !important;
  }

  /* Move the entire ASIDE above the BODY */
  .page-aside{
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .page-body{
    order: 2 !important;
  }

  /* Make sure the image card is first within the aside */
  .page-aside .neuromod-aside-image{
    order: 0 !important;
  }

  /* Optional: slightly tighten spacing so it feels “under the CTA” */
  .page-section{
    padding-top: 42px !important;
  }
}


