/* =====================================================================
   psykolog.no — Responsive Stylesheet (Nested CSS)
   ===================================================================== */

html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100vw;
}

/* =====================================================================
   TABLET  (≤ 1025px)
   ===================================================================== */
@media (max-width: 1025px) {
  .section {
    padding: 60px 24px;
  }
  .container {
    padding: 0 2px;
  }

  /* ---- Typography scale-down (previously only happened at 767px,
     leaving 44–48px headings full-size on tablet) ------------------- */
  .h2,
  .h2-italic {
    font-size: 36px;
  }
  .h2--quote {
    font-size: 30px;
  }
  .h2--cta {
    font-size: 36px;
  }
  .lede--wide {
    font-size: 18px;
  }
  .section-head,
  .section-head-max {
    margin-bottom: 40px;
  }
  /* scoped duplicates — see note at top of file */
  #home-psychologists .h2 {
    font-size: 32px;
  }
  #home-pricing .h2 {
    font-size: 34px;
  }

  #home-netbar {
     display: none;
  }

  .site-header {
    padding: 16px 24px 0;

    .site-header__bar {
      padding: 8px 8px 8px 20px;
    }
  }

  /* generic layout primitives: any section built on .split/.split-top/
     .grid steps to a single column at tablet by default. Sections that
     read better as 2 columns on tablet get their own override below
     (higher specificity wins over this generic rule). */
  .split,
  .split-top,
  .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #home-hero {
    .hero__stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      padding: 16px;
    }

    .hero__badge {
      padding: 4px 12px;
      font-size: 9px;
    }

    .hero__title {
      font-size: 48px; /* ASSUMPTION — set to your real desktop value minus ~20% */
    }

    .hero__copy p {
      font-size: 17px;
      line-height: 28px;
    }

    .hero__cta-row {
      flex-wrap: wrap;
      gap: 12px;
    }
  }

  .hero__inner {
    padding: 20px;
    margin: 0 16px;
  }

  /* ---- Signs / "is this you" panel — no tablet rule previously,
     so the two-column split relied only on the generic .split
     collapse; tighten inner spacing to match the now-full-width
     column. ------------------------------------------------------- */
  #home-signs {
	  
    .signs__intro__para {
      max-width: 100%;
    }
    .signs__panel {
      padding: 20px;
    }
    .signs__item {
      padding: 18px 20px;
    }
  }

  .wwh-header {
    gap: 32px;

    .wwh-image {
      height: 400px;
    }
  }

  /* audience-grid had no tablet override — 3 columns is cramped
     between 768–1025px */
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* table forced desktop min-width with no scroll wrapper */
  #home-right-place {
    .compare {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 32px auto 0;
      padding-bottom: 12px;
    }

    .compare__table {
      min-width: 680px; /* ASSUMPTION — match mobile value; adjust if desktop table is wider */
    }
  }

  /* ---- Intro video + stats — was mobile-only, so tablet showed the
     desktop 3-col stats row at full column width with no breathing
     room; keep 3 columns but tighten and shrink the video panel. --- */
  #home-short-wait {
    .intro-video {
      min-height: 360px;
    }
    .stats-row {
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .stat-number {
      font-size: 21px;
    }
  }

  #home-hiw {
    .hiw {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .hiw__media {
      height: 220px;
    }
  }

  #home-conditions {
    .cond-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
  }

  #home-formats {
    .formats {
      gap: 32px;
    }

    .formats__preview {
      min-height: 320px;

      img {
        height: 320px;
      }
    }
  }

  #home-psychotherapies {
    .method-grid {
	  grid-template-columns: 1fr;	
      gap: 20px;
    }

    /* method-card stayed in row layout with fixed-width media until
       767px — the fixed media width was pushing the card wider than
       the column, forcing overflow at tablet. */
    .method-card {
      gap: 16px;

      .method-card__media {
        width: 200px; /* ASSUMPTION — check against desktop fixed width */
        height: 160px;
      }
    }
  }

  /* ---- Psychologist cards — the generic ".grid" rule above already
     drops this to 1 column, but 3→1 skips a perfectly good 2-column
     tablet layout. Override with matching (#id .grid) specificity so
     it actually takes effect over the generic rule. ----------------- */
  #home-psychologists {
    .grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
    .psy-card__media {
      height: 240px;
    }
    .recruitment-banner {
      flex-wrap: wrap;
      justify-content: center;
      text-align: center;
      padding: 40px 32px;
      gap: 20px;
    }
    .recruitment-banner__content {
      flex-direction: column;
    }
  }

  #home-pricing {
    .pricing-layout {
      grid-template-columns: 1fr;
      gap: 40px;
      text-align: center;
    }

    .pricing-info {
      max-width: 100%;
      margin: 0 auto;
    }

    .price-grid {
      justify-content: center;
    }
  }

  .insurance-banner__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .insurance-banner__logos {
    grid-template-columns: repeat(4, 1fr);
    /* fixed 488px width in styles.css was the main source of the
       horizontal-scroll bug below 1025px */
    width: 100%;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-card {
    padding: 12px 24px;
  }

  .faq-layout__left {
    position: relative;
    top: 0;
  }

  #home-faq .lede {
    max-width: 100%;
  }

  .faq-item__trigger {
    font-size: 18px;
  }

  .patient-card {
    padding: 28px;
  }

  #home-gift {
    .gift-split {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  #home-locations {
    .locations {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .locations__map {
      height: 300px;
    }
  }

  #home-org {
    .org-grid {
      grid-template-columns: 1fr;
    }

    .org-media {
      grid-column: span 2;
      height: 500px;
    }
	 .org-media img {
      width: 100%;  
      height: 100%; 
      object-fit: cover;
      object-position: top; 
}  
  }

  #home-instagram .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #home-articles .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header {
    .site-header__nav {
      display: none;
    }

    .site-header__toggle {
      display: flex;
    }
  }

  .site-footer {
    .site-footer__cols {
      grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-form {
      min-width: 0;
    }
  }

  /* fixed 260px side padding on the final CTA container goes negative
     under ~830px with box-sizing:border-box and forces overflow */
  #home-final-cta .container {
    padding: 48px 60px;
  }

  /* AI chatbot widget — tighten starting at tablet so it never
     outgrows the viewport */
  .ai-launcher {
    right: 20px;
    bottom: 20px;
    width: 62px;
    height: 62px;
  }
  .ai-launcher__core .icon {
    width: 22px;
    height: 22px;
  }
  .ai-modal {
    max-width: 92vw;
  }

  /* =========================================================
     ABOUT US — no breakpoints existed at all previously; fixed
     heights/two-col grids ran straight from desktop to mobile.
     ========================================================= */
  #about-hero {
    min-height: 480px;
	  
   .container{
    padding: 0px 16px;		  
	  }  

    .page-hero__inner {
      padding-top: 120px;
      padding-bottom: 56px;
    }
    .page-hero__title {
      font-size: 42px;
    }
    .page-hero__lede {
      font-size: 17px;
      max-width: 380px;
	  	
    }
  }

  #about-mission {
    .mission {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .mission__text {
      max-width: 100%;
    }
    .mission__media img {
      height: 450px;
	  width: 100%; 
     object-fit: cover; 
     object-position: top;
    }
    .mission__subhead {
      font-size: 24px;
    }
  }

  #about-values {
    .values {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 40px;
    }
    .values__preview {
      order: -1;
      min-height: 380px;
    }
    .values__item {
      font-size: 19px;
      padding: 20px 0;
    }
  }

  #about-treat {
    .treat-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
    .treat-cta {
      flex-direction: column;
      text-align: center;
      padding: 28px;
      gap: 16px;
    }
  }

  #about-professional {
    padding: 60px 20px 20px 20px;  
   .professional{
	 gap: 30px;
	  }
   .professional__name{
		  margin-top: 10px
	  }  
    .professional__title {
      font-size: 34px;
    }
    .professional__bio {
	  font-size: 18px	
      max-width: 100%;
    }
  }
  #meet-psychologists {
   .meet-psychologists__main {
      grid-template-columns: 1fr;
      gap: 48px;
      margin-bottom: 64px;
    }

     .meet-psychologists__image-wrap {
      min-height: 380px;
      max-height: 480px;
    }

    .meet-psychologists__bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }
}	

  #about-why {
    .why-media img {
      height: 360px;
    }
    .why-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .why-col:last-child {
      border-left: 0;
      padding-left: 0;
      margin-top: 4px;
    }
	  
	 .why-item.second{
      padding: 16px 0;
	  border-left: none;	 
      gap: 14px;
    } 
    .why-item p {
      max-width: 100%;
      font-size: 17px;
    }
  }

  #home-languages {
    padding: 56px 20px;

    .languages-list {
      gap: 12px;
    }
    .language-tag {
      font-size: 16px;
      padding: 10px 22px;
    }
  }

  #network-banner {
    padding: 48px 16px;

    .network-wrapper {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 40px;
      text-align: center;
    }
    .network-title {
      font-size: 30px;
    }
    .network-card {
      padding: 36px 28px;
    }
  }
}

/* =====================================================================
   MOBILE  (≤ 767px)
   ===================================================================== */
@media (max-width: 767px) {
  .section {
    padding: 56px 16px;
  }
  .container {
    padding: 0 2px;
  }

  .h2 {
    font-size: 32px;
  }

  .h2-italic {
    font-size: 32px;
  }
  /* scoped duplicates — see note at top of file */
  #home-psychologists .h2 {
    font-size: 28px;
  }
 #home-pricing {
	padding: 16px;
	.h2 {
    font-size: 28px;
  }
}	 

  .split, .split-top, .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #home-psychologists{
    .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  }

  #home-netbar {
    .netbar__row {
      padding: 10px 16px;
      justify-content: center;
      text-align: center;
      row-gap: 8px;
    }

    .netbar__label {
      justify-content: center;
    }

    .netbar__text {
      font-size: 10px;
      letter-spacing: 1.5px;
      white-space: normal;
    }

    .netbar__links {
      justify-content: center;
      width: 100%;
    }

    .netbar__link {
      padding: 4px 12px;
      font-size: 12px;
    }
  }

  #home-instagram .instagram-grid {
    grid-template-columns: 1fr;
  }

  #home-articles .grid-3 {
    grid-template-columns: 1fr;
  }


  .site-header {
    padding: 12px 16px 0;

    .site-header__bar {
      padding: 8px 8px 8px 16px;
    }

    .site-header__row {
      gap: 12px;
    }

    .site-header__logo {
      height: 22px;
    }

    .site-header__actions {
      gap: 6px;
    }

    .site-header__actions .btn {
      padding: 10px 16px;
      font-size: 13px;
    }

    .site-header__actions .btn[data-target="#home-final-cta"] {
      display: none;
    }

    .site-header__toggle {
      width: 40px;
      height: 40px;
    }
  }

  #home-hero {
   margin-top: -110px;
  }

  #home-hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 56px;

    .hero__badge {
      padding: 4px 12px;
      font-size: 8px;
    }

    .hero__inner {
      padding-top: 40px;
      margin: 0 16px;
    }

    .hero__title {
      font-size: 38px;
    }

    .hero__copy p {
      font-size: 16px;
      line-height: 26px;
    }

    .hero__cta-row {
  	 flex-direction: row;
  	 align-items: center; 
  	 gap: 12px;
  	 width: 100%;

  	 .btn {
    	 flex: 1; 
    	 text-align: center;
  	 }
    	 }

    .hero__stats {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 16px;
    }

    .hero__stat {
      min-width: 0;
      padding-right: 0;
    }
  }

  #home-signs {
	  
   .signs__intro {
    position: static; 
  } 
    .signs__intro__para {
      max-width: 100%;
    }

    .signs__list {
      margin-top: 24px;
    }

    .signs__item {
      padding: 16px;
    }
  }

  #home-right-place {
    .compare {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin: 32px auto 0;
      padding-bottom: 12px;
    }

    .compare__table {
      min-width: 680px;
    }

    .compare__cell,
    .compare__label,
    .compare__col {
      padding: 16px 20px;
    }
  }

  #who-we-help-section {
    padding: 56px 16px;

    .wwh-header {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .wwh-image {
      height: 300px;
    }

    .audience-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 32px;
    }
  }

  #home-short-wait {
    .intro-video {
      min-height: 280px;
    }
	.stats-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  }

  #home-hiw {
    .hiw {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .hiw__media {
      height: 180px;
    }

    .hiw__body {
      padding: 20px 8px 8px 8px;
    }
  }

  #home-conditions {
    .cond-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }

  #home-formats {
    .formats {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .formats__preview {
      min-height: 360px;

      img {
        height: 360px;
      }
    }
  }

  #home-psychotherapies {
    .method-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .method-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;

      .method-card__media {
        width: 100%;
        height: 180px;
      }
    }
  }

  #home-psychologists {
    .psy-card__media {
      height: 260px;
    }

    .recruitment-banner {
      flex-direction: column;
      text-align: center;
      padding: 40px 24px;
      gap: 24px;

      .recruitment-banner__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      h3 {
        font-size: 22px;
      }

      p {
        font-size: 16px;
      }
    }
  }

  #home-pricing {
    .price-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .price-card {
      padding: 24px;
    }
  }

  .insurance-banner__logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .insurance-banner{
    padding: 32px 16px;
  }

  #home-gift {
    .gift-split {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .checks {
      margin-left: 0;
      justify-content: center;
    }

    .gift-content-col {
      text-align: center;

      .eyebrow {
        justify-content: center;
      }
    }
  }

  #home-locations {
    .locations {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .locations__map {
      height: 300px;
    }
  }

  #home-org {
    .org-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .org-media {
      grid-column: auto;
      height: 240px;
      order: -1;
    }
  }

  #home-final-cta {
    .container {
      padding: 40px 20px;
    }

    .cta-row {
      gap: 12px;
    }

    .btn--lg {
      width: 100%;
      justify-content: center;
    }

    .check-list--row {
      gap: 16px;
    }
  }

  .faq-card {
    padding: 12px 16px;
  }

  .faq-item__trigger {
    font-size: 17px;
    padding: 22px 0;
  }

  #home-faq .lede {
    font-size: 15px;
    max-width: 100%;
  }

  .patient-card {
    padding: 24px;

    p {
      font-size: 16px;
    }
  }

  #home-footer {
    padding: 32px 16px;

    /* --- Consolidated Newsletter Section --- */
    .site-footer__newsletter {
      flex-direction: column;
      align-items: flex-start; /* Matches the left-aligned text */
      padding: 24px;
      gap: 24px;

      p {
        max-width: 100%;
      }
    }

    .newsletter-form-wrapper {
      width: 100%;
      max-width: 100%;
    }

    /* --- Consolidated Form --- */
    .newsletter-form {
      flex-direction: column;
      background: transparent;
      border: none;
      padding: 0;
      width: 100%;

      input {
        width: 100%;
        box-sizing: border-box; /* Ensures padding doesn't cause overflow */
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 14px 24px;
        border-radius: 30px;
        margin-bottom: 12px;
      }

      .btn--subscribe {
        width: 100%;
        display: flex;
        justify-content: center;
      }
    }

    /* --- Consolidated Columns --- */
    .site-footer__cols {
      /* 2 columns usually look better on mobile for footer links, 
         change to 1fr if you strictly want a single column */
      grid-template-columns: repeat(2, 1fr); 
      gap: 32px 20px;
    }

    /* --- Consolidated Bottom Bar --- */
    .site-footer__bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

    .site-footer__right {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }
  }

  /* AI chatbot widget — docks as a bottom sheet and drops every
     internal grid to a single column so nothing forces a scrollbar */
  .ai-launcher {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;

    .ai-launcher__core .icon {
      width: 20px;
      height: 20px;
    }
  }

  .ai-scrim {
    padding: 0;
    align-items: flex-end;
  }

  .ai-modal {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;

    .ai-modal__head {
      padding: 18px 20px 14px;
    }

    .ai-modal__head-row {
      gap: 10px;
    }

    .ai-modal__title {
      font-size: 14px;
    }

    .ai-modal__subtitle {
      font-size: 11px;
    }

    .ai-modal__body {
      padding: 20px 20px 24px;
    }

    .ai-modal__foot {
      flex-direction: column-reverse;
      gap: 10px;
      padding: 16px 20px;

      .btn {
        width: 100%;
        justify-content: center;
      }
    }
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }

  .ai-prefs {
    grid-template-columns: 1fr;
  }

  .ai-scale {
    gap: 6px;

    button {
      min-width: calc(33.333% - 5px);
      padding: 10px 6px;
    }
  }

  .ai-chips {
    gap: 6px;
  }

  .ai-result-card {
    padding: 16px;

    .ai-result-card__actions {
      flex-direction: column;
    }
  }

  /* =========================================================
     ABOUT US — mobile
     ========================================================= */
  #about-hero {
    min-height: 420px;
    margin-top: -70px;

    .page-hero__inner {
     padding: 148px 16px 48px;
    }
    .page-hero__crumb {
      font-size: 12px;
    }
    .page-hero__title {
      font-size: 32px;
      line-height: 1.25;
    }
    .page-hero__lede {
      font-size: 16px;
      margin-top: 14px;
	  max-width: 680px;	
    }
  }

  #about-mission {
    .mission {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .mission__media img {
      height: 280px;
    }
    /* the desktop card overlays the image absolutely; on mobile it
       reads better stacked below the image than floating on top of
       a much shorter image */
    .mission__card {
      position: relative;
      left: 0;
      right: 0;
      bottom: 0;
      margin-top: 16px;
    }
    .mission__subhead {
      font-size: 22px;
    }
  }

  #about-values {
    .values {
      grid-template-columns: 1fr;
      gap: 28px;
      margin-top: 32px;
    }
    .values__preview {
      order: -1;
      min-height: 300px;
    }
    .values__item {
      font-size: 18px;
      padding: 18px 0;
      gap: 14px;
    }
    .values__caption {
      padding: 20px;
    }
    .values__caption h3 {
      font-size: 22px;
    }
  }

  #about-treat {
    .treat-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .treat-card {
      padding: 24px;
    }
    .treat-cta {
      flex-direction: column;
      text-align: center;
      padding: 24px;
      gap: 16px;

      .btn {
        margin-top: 8px;  
        justify-content: center;
      }
    }
  }

  #about-professional {
    .professional {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .professional__media img {
      height: 280px;
    }
    .professional__title {
      font-size: 28px;
    }
    .professional__bio {
      font-size: 16px;
      line-height: 26px;
      max-width: 100%;
    }
    .professional__tags {
      gap: 8px;
    }
  }
 #meet-psychologists {
  padding: 80px 20px;
	.meet-psychologists__title {
      font-size: 36px;
    }

    .meet-psychologists__desc {
      font-size: 15px;
      margin-bottom: 28px;
    }

    .meet-psychologists__tags {
      gap: 8px;

      .tag {
        font-size: 12.5px;
        padding: 8px 16px;
      }
    }

    .meet-psychologists__image-wrap {
      min-height: 300px;
      border-radius: 20px;

      img {
        border-radius: 20px;
      }
    }

    .meet-psychologists__bottom-text {
      h3 {
        font-size: 22px;
      }

      p {
        font-size: 14px;
      }
    }

    .btn--find-psychologist {
      width: 100%;
      justify-content: center;
      padding: 14px 24px;
    }
  }

  #about-why {
    .why-media img {
      height: 240px;
    }
    .why-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .why-col:last-child {
      border-left: 0;
      padding-left: 0;
    }
    .why-item {
      padding: 16px 0;
      gap: 14px;
    }
	 .why-item.second{
      padding: 16px 0;
	  border-left: none;	 
      gap: 14px;
    } 
    .why-item p {
      font-size: 16px;
      line-height: 24px;
      max-width: 100%;
    }
  }

  #home-languages {
    padding: 48px 16px;

    .languages-subtext {
      font-size: 15px;
    }
    .languages-list {
      gap: 10px;
    }
    .language-tag {
      font-size: 15px;
      padding: 9px 18px;
    }
  }

  #network-banner {
    padding: 40px 16px;

    .network-wrapper {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 28px;
    }
    .network-title {
      font-size: 24px;
    }
    .network-text {
      font-size: 15px;
    }
    .network-card {
      padding: 28px 20px;
    }
    .network-card-text {
      font-size: 15px;
    }
  }
/* ── ADHD page ─────────────────────────────────────────────── */

  #adhd-hero {
    .adhd-container {
      margin-left: 0;
    }

    .hero__copy {
      max-width: 58%;
      padding-top: 140px;
      padding-bottom: 64px;
    }

    .hero__title {
      font-size: 48px;
    }

    .hero__lede {
      font-size: 18px;
    }
  }

  .jump-nav {
    padding-top: 28px;
  }

  #adhd-what {
    .info-aside {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }

  #adhd-subtypes {
    .sub-head,
    .sub-row {
      gap: 24px;
      padding-left: 24px;
      padding-right: 24px;
    }

    .sub-head {
      padding-top: 16px;
      padding-bottom: 16px;
    }

    .sub-row {
      padding-top: 24px;
      padding-bottom: 24px;
    }
  }

  #adhd-causes {
    .cause-grid {
      grid-template-columns: 1fr;
      margin-top: 40px;
    }

    .not-cause {
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
      padding: 32px;
    }

    .not-cause__art {
      width: 160px;
      align-self: center;
    }
  }

  #adhd-ages {
    .life-row {
      margin-top: 40px;
    }

    .life-row + .life-row {
      margin-top: 48px;
    }

    .women-wrap {
      margin-top: 48px;
    }

    .women-panel {
      padding: 36px 32px;
    }

    .women-grid {
      grid-template-columns: 1fr;
    }

    .women-grid__media img {
      min-height: 280px;
    }
  }

  #adhd-clinic {
    .clinic-banner {
      padding: 44px 36px;
    }
	  .clinic-banner__copy{
	  max-width: 100%;
	  }
	  .clinic-banner__character{
		  display: none;
	  } 

    .clinic-grid {
      grid-template-columns: 1fr;
      margin-top: 32px;
    }
  }

  #adhd-assessment {
    .split-top {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .shots-sticky {
      position: relative;
      top: 0;
    }

    .steps {
      margin-top: 40px;
    }
  }

  #adhd-treatment {
    .tx-row {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 28px 28px;
    }
  }

  #adhd-living {
    .living-grid {
      grid-template-columns: 1fr;
      margin-top: 40px;
    }
  }

  #adhd-help {
    .audience-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
  }

  #adhd-cooccurring {
    .cooccur-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
  }

  #adhd-cta {
    .why {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 44px 40px;
      text-align: center;
    }

    .why__media img {
      max-width: 300px;
    }
  }

  #adhd-myths {
    .myth-list {
      margin-top: 40px;
    }

    .myth-row__myth {
      padding-right: 80px;
    }

    .myth-row__fact {
      padding-left: 80px;
    }

    .myth-row__avatar {
      width: 64px;
      height: 64px;
    }
  }

  #adhd-faq {
    .split-top {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .faq-side {
      position: relative;
      top: 0;
    }
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 16px;
  }
  .container {
    padding: 0 2px;
  }

  .h2 {
    font-size: 32px;
  }

  .h2-italic {
    font-size: 32px;
  }

  .split, .split-top, .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #home-psychologists{
    .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  }
  
  #home-netbar {
    .netbar__row {
      padding: 10px 16px;
      justify-content: center;
      text-align: center;
      row-gap: 8px;
    }

    .netbar__label {
      justify-content: center;
    }

    .netbar__text {
      font-size: 10px;
      letter-spacing: 1.5px;
      white-space: normal;
    }

    .netbar__links {
      justify-content: center;
      width: 100%;
    }

    .netbar__link {
      padding: 4px 12px;
      font-size: 12px;
    }
  }

  #home-instagram .instagram-grid {
    grid-template-columns: 1fr;
  }

  #home-articles .grid-3 {
    grid-template-columns: 1fr;
  }


  .site-header {
    padding: 12px 16px 0;

    .site-header__bar {
      padding: 8px 8px 8px 16px;
    }

    .site-header__row {
      gap: 12px;
    }

    .site-header__logo {
      height: 22px;
    }

    .site-header__actions {
      gap: 6px;
    }

    .site-header__actions .btn {
      padding: 10px 16px;
      font-size: 13px;
    }

    .site-header__actions .btn[data-target="#home-final-cta"] {
      display: none;
    }

    .site-header__toggle {
      width: 40px;
      height: 40px;
    }
  }



  #home-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 56px;

    .hero__badge {
      padding: 4px 12px;
      font-size: 8px;
    }    

    .hero__inner {
      padding: 40px 16px 0;
      margin: 0 16px;
    }

    .hero__title {
      font-size: 38px;
    }

    .hero__copy p {
      font-size: 16px;
      line-height: 26px;
    }

    .hero__cta-row {
  flex-direction: row;
  align-items: center; 
  gap: 12px;
  width: 100%;

  .btn {
    flex: 1; /* This makes both buttons take up exactly 50% of the space */
    text-align: center;
  }
}
    .hero__stats {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 16px;
    }

    .hero__stat {
      min-width: 0;
      padding-right: 0;
    }
  }

  #home-signs {
	  
 .grid {
	 grid-template-columns: 1fr;
}  
    .signs__intro__para {
      max-width: 100%;
    }

    .signs__list {
      margin-top: 24px;
    }

    .signs__item {
      padding: 16px;
    }
  }

  #home-right-place {
    .compare {
      overflow: visible;
      margin: 24px auto 0;
      padding-bottom: 0;
    }

    .compare__table {
      min-width: 0 !important;
      width: 100%;
      border: 1px solid #e5e5e5;
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
    }

    /* every row = 2 equal columns */
    .compare__row {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    /* header: only the two column titles */
    .compare__row--head {
      background: #f7f5f2;
      border-bottom: 1px solid #e5e5e5;
    }

    .compare__col--empty {
      display: none !important;
    }

    .compare__col {
      padding: 12px 10px;
      font-size: 14px;
      font-weight: 700;
      text-align: center;
    }

    .compare__col + .compare__col {
      border-left: 1px solid #e5e5e5;
    }

    /* label strip spans both columns */
    .compare__label {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 600;
      background: #faf8f5;
      border-top: 1px solid #eee;
    }

    .compare__label .icon-circle {
      width: 28px;
      height: 28px;
      flex-shrink: 0;
    }

    .compare__label .icon {
      width: 14px;
      height: 14px;
    }

    /* the two values side by side */
    .compare__cell {
      padding: 12px 12px;
      font-size: 13px;
      line-height: 1.45;
      text-align: left;
      border: 0;
    }

    .compare__cell + .compare__cell {
      border-left: 1px solid #eee;
    }

    .compare__cell::before {
      content: none !important;
    }
  }
  .who-we-help-section {
    padding: 56px 16px;

    .wwh-header {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .wwh-image {
      height: 300px;
    }

    .audience-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 32px;
    }
  }

  #home-short-wait {
    .intro-video {
      min-height: 280px;
    }
  }

  #home-hiw {
    .hiw {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .hiw__media {
      height: 180px;
    }

    .hiw__body {
      padding: 20px 8px 8px 8px;
    }
  }

  #home-conditions {
    .cond-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  }

  #home-formats {
    .formats {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .formats__preview {
      min-height: 360px;

      img {
        height: 360px;
      }
    }
  }

  #home-psychotherapies {
    .method-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .method-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;

      .method-card__media {
        width: 100%;
        height: 180px;
      }
    }
  }

  #home-psychologists {
    .recruitment-banner {
      flex-direction: column;
      text-align: center;
      padding: 40px 24px;
      gap: 24px;

      .recruitment-banner__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }

      h3 {
        font-size: 22px;
      }

      p {
        font-size: 16px;
      }
    }
  }

  #home-pricing {
    .price-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .price-card {
      padding: 24px;
    }
  }

  .insurance-banner__logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .insurance-banner{
    padding: 32px 16px;
  }

  #home-gift {
    .gift-split {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .checks {
      margin-left: 0;
      justify-content: center;
    }

    .gift-content-col {
      text-align: center;

      .eyebrow {
        justify-content: center;
      }
    }
  }

  #home-locations {
    .locations {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .locations__map {
      height: 300px;
    }
  }

  #home-org {
    .org-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .org-media {
      grid-column: auto;
      height: 240px;
      order: -1;
    }
  }

  #home-final-cta {
    .container {
      padding: 40px 20px;
    }

    .cta-row {
      gap: 12px;
    }

    .btn--lg {
      width: 100%;
      justify-content: center;
    }

    .check-list--row {
      gap: 16px;
    }
  }

  .patient-card {
    padding: 24px;

    p {
      font-size: 16px;
    }
  }

  .site-footer {
    padding: 32px 10px;
    .site-footer__newsletter {
      flex-direction: column;
      padding: 24px;
      text-align: center;

      p {
        max-width: 100%;
      }
    }

    .newsletter-form {
      min-width: 0;
      width: 100%;
      padding: 5px 5px 5px 16px;
      flex-wrap: wrap;

      input {
        width: 100%;
        padding: 8px 0;
      }

      .btn--subscribe {
        width: 100%;
        justify-content: center;
      }
    }

    .site-footer__cols {
      grid-template-columns: 1fr 1fr;
      gap: 32px 20px;
    }

    .site-footer__bottom {
      flex-direction: column;
      text-align: center;
    }
  }

  /* AI chatbot widget — docks as a bottom sheet and drops every
     internal grid to a single column so nothing forces a scrollbar */
  .ai-launcher {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;

    .ai-launcher__core .icon {
      width: 20px;
      height: 20px;
    }
  }

  .ai-scrim {
    padding: 0;
    align-items: flex-end;
  }

  .ai-modal {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 0 0;

    .ai-modal__head {
      padding: 18px 20px 14px;
    }

    .ai-modal__head-row {
      gap: 10px;
    }

    .ai-modal__title {
      font-size: 14px;
    }

    .ai-modal__subtitle {
      font-size: 11px;
    }

    .ai-modal__body {
      padding: 20px 20px 24px;
    }

    .ai-modal__foot {
      flex-direction: column-reverse;
      gap: 10px;
      padding: 16px 20px;

      .btn {
        width: 100%;
        justify-content: center;
      }
    }
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }

  .ai-prefs {
    grid-template-columns: 1fr;
  }

  .ai-scale {
    gap: 6px;

    button {
      min-width: calc(33.333% - 5px);
      padding: 10px 6px;
    }
  }

  .ai-chips {
    gap: 6px;
  }

  .ai-result-card {
    padding: 16px;

    .ai-result-card__actions {
      flex-direction: column;
    }
  }

  /* =========================================================
     ABOUT US — mobile
     ========================================================= */
#about-hero {
  min-height: 420px;
  margin-top: -70px;
  background-position: left center; 
	
  .page-hero__inner {
    padding: 148px 16px 48px;
  }
  
  .page-hero__crumb {
    font-size: 12px;
  }
  
  .page-hero__title {
    font-size: 32px;
    line-height: 1.25;
  }
  
  .page-hero__lede {
    font-size: 16px;
    margin-top: 14px;
  }
}

  #about-mission {
    .mission {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .mission__media img {
      height: 280px;
    }
    /* the desktop card overlays the image absolutely; on mobile it
       reads better stacked below the image than floating on top of
       a much shorter image */
    .mission__card {
      position: relative;
      left: 0;
      right: 0;
      bottom: 0;
      margin-top: 16px;
    }
    .mission__subhead {
      font-size: 22px;
    }
  }

  #about-values {
    .values {
      grid-template-columns: 1fr;
      gap: 28px;
      margin-top: 32px;
    }
    .values__preview {
      order: -1;
      min-height: 300px;
    }
    .values__item {
      font-size: 18px;
      padding: 18px 0;
      gap: 14px;
    }
    .values__caption {
      padding: 20px;
    }
    .values__caption h3 {
      font-size: 22px;
    }
  }

  #about-treat {
    .treat-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .treat-card {
      padding: 24px;
    }
    .treat-cta {
      flex-direction: column;
      text-align: center;
      padding: 24px;
      gap: 16px;

      .btn {
        margin-top: 8px;  
        justify-content: center;
      }
    }
  }

  #about-professional {
    .professional {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .professional__media img {
  	  height: 350px;
  	  width: 100%; 
  	  object-fit: cover; 
  	  object-position: top; 
	  }
    .professional__title {
      font-size: 28px;
    }
    .professional__bio {
      font-size: 16px;
      line-height: 26px;
      max-width: 100%;
    }
    .professional__tags {
      gap: 8px;
    }
  }

  #about-why {
    .why-media img {
      height: 240px;
    }
    .why-grid {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .why-col:last-child {
      border-left: 0;
      padding-left: 0;
    }
    .why-item {
      padding: 16px 0;
      gap: 14px;
    }
    .why-item p {
      font-size: 16px;
      line-height: 24px;
      max-width: 100%;
    }
  }

  #home-languages {
    padding: 48px 16px;

    .languages-subtext {
      font-size: 15px;
    }
    .languages-list {
      gap: 10px;
    }
    .language-tag {
      font-size: 15px;
      padding: 9px 18px;
    }
  }

  #network-banner {
    padding: 40px 16px;

    .network-wrapper {
      grid-template-columns: 1fr;
      gap: 24px;
      padding: 28px;
    }
    .network-title {
      font-size: 24px;
    }
    .network-text {
      font-size: 15px;
    }
    .network-card {
      padding: 28px 20px;
    }
    .network-card-text {
      font-size: 15px;
    }
  }

  /* ── ADHD page ─────────────────────────────────────────────── */

  .h2--lg {
    font-size: 32px;
    line-height: 1.25;
  }

  .h2--sm {
    font-size: 28px;
    line-height: 36px;
  }

  .lede--sm {
    font-size: 16px;
    line-height: 26px;
  }

  .section--decor::before,
  .section--decor::after {
    display: none;
  }

  .jump-nav {
    padding-top: 20px;
  }

  .jump-nav__list a {
    font-size: 14px;
    padding: 8px 14px;
  }

 #adhd-hero {
    margin-top: -70px;
    display: grid;
    grid-template-columns: 1fr;

    .hero__media,
    .hero__copy {
      grid-area: 1 / 1;
    }

    .adhd-container {
      margin-left: 0;
      padding: 0 16px;
    }

    .hero__media {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 400px; 
    }

    .hero__media img {
  	  width: 100%;
  	  height: 100%;
  	  object-fit: cover;
  	  object-position: left center; 
  	  opacity: 0.6; 
	  }

    .hero__copy {
      position: relative;
      z-index: 2; /* Keeps text layered above the image */
      max-width: 100%;
      padding: 60px 16px 48px;
    }

    .hero__badge {
      padding: 7px 16px;
    }

    .hero__badge span:last-child {
      font-size: 11px;
      letter-spacing: 1.5px;
      white-space: normal;
    }

    .hero__title {
      font-size: 38px;
      margin-top: 20px;
    }

    .hero__lede {
      font-size: 16px;
      line-height: 26px;
      margin-top: 16px;

      br {
        display: none;
      }
    }
  }
  #adhd-what {
  .info-aside {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-inline: 20px;

    .sticky {
      position: static;      /* fully removes sticky behavior, not just relative */
      top: auto;
      align-self: stretch;   /* undo flex-start from base row layout */
      margin-bottom: 0;      /* undo the 50px base spacing, since gap already handles it */
    }
  }

  .stat-box,
  .add-box {
    padding: 22px;
  }

  .stat-box__n {
    font-size: 30px;
    line-height: 38px;
  }
}

  #adhd-video {
    padding: 20px;
    .video-head {
      margin-bottom: 20px;
    }

    .video-btn {
      aspect-ratio: 16 / 9;
    }

    .video-btn__play {
      width: 64px;
      height: 64px;
    }

    .video-btn__play-icon {
      border-top-width: 11px;
      border-bottom-width: 11px;
      border-left-width: 18px;
      margin-left: 4px;
    }

    .video-btn__label {
      left: 16px;
      bottom: 16px;
      padding: 7px 14px;
    }
  }

  #adhd-subtypes {
    .subtypes {
      margin-top: 32px;
    }

    .sub-head {
      display: none;
    }

    .sub-row {
      grid-template-columns: 1fr;
      gap: 14px;
      padding: 20px 18px;
    }

    .sub-row__id {
      gap: 14px;
    }

    .sub-row__art {
      width: 72px;
      height: 58px;
    }

    .sub-row__t {
      font-size: 19px;
      line-height: 26px;
    }

    .sub-row__d {
      font-size: 16px;
      line-height: 24px;
      align-self: start;
    }
  }

  #adhd-causes {
    .cause-grid {
      gap: 16px;
      margin-top: 32px;
    }

    .cause-card {
      flex-direction: column;
      gap: 14px;
      padding: 22px;
    }

    .cause-card h3 {
      font-size: 20px;
      line-height: 28px;
    }

    .cause-card p {
      font-size: 16px;
      line-height: 24px;
    }

    .not-cause {
      padding: 24px;
      border-radius: 18px;
    }

    .not-cause__art {
      width: 140px;
    }

    .not-cause h3 {
      font-size: 20px;
      line-height: 28px;
    }

    .not-cause p {
      font-size: 16px;
      line-height: 24px;
    }
  }

  .ps-symgroup__trigger {
    padding: 16px 18px;
  }

  .ps-symgroup__title {
    font-size: 16px;
  }

  .ps-symlist {
    padding: 0 18px 18px;
	grid-template-columns: 1fr;  
  }
	
	
	

  #adhd-ages {
    .life-row {
      gap: 24px;
      margin-top: 32px;
    }

    .life-row + .life-row {
      margin-top: 40px;
    }

    .age-media {
      max-width: 100%;
      aspect-ratio: 4 / 3;
    }

    .age-title {
      font-size: 26px;
      line-height: 34px;
    }

    .women-wrap {
      margin-top: 40px;
    }

    .women-panel {
      padding: 28px 20px;
      border-radius: 20px;
    }

    .women-grid {
      margin-top: 24px;
      gap: 16px;
    }

    .women-grid__panel {
      padding: 24px;
    }

    .women-grid__title {
      font-size: 20px;
      line-height: 28px;
    }

    .women-grid__media img {
      min-height: 220px;
    }
  }

  #adhd-clinic {
    .clinic-banner {
      padding: 32px 24px;
      border-radius: 20px;
    }

    .clinic-banner .btn {
      margin-top: 28px;
      width: 100%;
      justify-content: center;
    }

    .clinic-grid {
      gap: 12px;
      margin-top: 24px;
    }

    .clinic-grid > div {
      padding: 18px 20px;
      font-size: 16px;
      line-height: 24px;
    }
  }

  #adhd-assessment {
    .split-top {
      gap: 32px;
    }

    .steps {
      margin-top: 32px;
    }

    .steps__item {
      padding: 20px 18px;
      gap: 16px;
    }

    .steps__num {
      font-size: 28px;
      line-height: 34px;
    }

    .steps__item h3 {
      font-size: 20px;
      line-height: 26px;
    }

    .steps__item p {
      font-size: 15px;
      line-height: 24px;
    }

    .shots {
      max-width: 100%;
      aspect-ratio: 4 / 3;
      border-radius: 20px;
    }

    .shots__caption {
      padding: 18px 20px;
    }

    .shots__caption p:first-child {
      font-size: 18px;
      line-height: 26px;
    }
  }

  #adhd-treatment {
    .treatments {
      margin-top: 32px;
    }

    .tx-row {
      padding: 22px 20px;
      gap: 20px;
    }

    .tx-card h3 {
      font-size: 20px;
      line-height: 28px;
    }

    .tx-card p {
      font-size: 16px;
    }

    .tx-card__list span {
      font-size: 15px;
    }
  }

  #adhd-living {
    .living-grid {
      gap: 16px;
      margin-top: 32px;
    }

    .living-card {
      padding: 28px 24px 100px;
      border-radius: 18px;
    }

    .living-card__t {
      font-size: 22px;
      line-height: 30px;
    }

    .living-card__list span {
      font-size: 16px;
    }

    .living-card__illus {
      width: 100px;
      height: 100px;
      right: 20px;
      bottom: 20px;
    }
  }

  #adhd-help {
    .audience-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .audience-card__t {
      font-size: 18px;
      line-height: 28px;
    }

    .audience-card__d {
      font-size: 15px;
    }
  }

  #adhd-cooccurring {
    .cooccur-grid {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 32px;
    }

    .cooccur-card {
      padding: 22px;
    }

    .cooccur-card h3 {
      font-size: 20px;
      line-height: 28px;
    }
  }

  #adhd-cta {
	 padding: 0 16px;
    .why {
      grid-template-columns: 1fr;
      padding: 32px 20px;
      border-radius: 20px;
      gap: 24px;
      text-align: left;
    }
	 .why__content {
      align-items: flex-start;
      text-align: left;
    }
    

     .why__media img {
      max-width: 260px;
    }
  }

  #adhd-myths {
    .myth-list {
      gap: 20px;
      margin-top: 32px;
    }

    .myth-row {
      grid-template-columns: 1fr;
    }

    .myth-row__myth {
      border-radius: 18px 18px 0 0;
      padding: 20px 20px 52px;
    }

    .myth-row__fact {
      border-radius: 0 0 18px 18px;
      padding: 52px 20px 20px;
    }

    .myth-row__myth p {
      font-size: 17px;
      line-height: 24px;
    }

    .myth-row__fact p {
      font-size: 14px;
      line-height: 22px;
    }

    .myth-row__avatar {
      width: 56px;
      height: 56px;
      border-width: 2px;
    }
  }

  #adhd-faq {
    .split-top {
      gap: 32px;
    }

    .faq-item__trigger {
      padding: 18px 20px;
    }

    .faq-item__trigger span:first-child {
      font-size: 17px;
      line-height: 25px;
    }

    .faq-item__panel-inner p {
      font-size: 16px;
      line-height: 25px;
      padding: 0 20px 20px;
    }
  }
}