/* Shared portrait styling must also apply between phone and desktop breakpoints. */
.chapter-home .hero-image { border-radius: 18px; }
.bio-intro > img { border-radius: 14px; }
.chapter-home .photo-note { position: static; display: block; max-width: 100%; margin-top: 18px; padding: 16px 0 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.chapter-home .photo-note .note-mark { display: none; }
@media (min-width:769px) and (max-width:1000px) {
  .chapter-home .hero-visual { padding: 0; }
}

/* Six native-scroll chapters, with compact summaries and optional details. */
.section-chapters { scroll-padding-top: 88px; }
.chapter-home main > section { min-height: calc(100svh - 88px); scroll-margin-top: 0; }
.overview-chapter { min-height: calc(100svh - 88px); padding: 48px 0; display: flex; align-items: center; border-top: 1px solid var(--line); }
.overview-program, .overview-despre { background: var(--soft); }
.overview-recenzii, .overview-colaborari { background: var(--paper); }
.overview-contact { background: #e9eee5; }
.chapter-content { max-width: 960px; }
.chapter-content > h2 { font-size: clamp(30px,3.5vw,44px); line-height: 1.2; max-width: 750px; margin-bottom: 18px; }
.chapter-content > p:not(.eyebrow):not(.chapter-legal) { font-size: 18px; line-height: 1.75; max-width: 720px; margin: 16px 0; color: var(--muted); }
.chapter-content > .large-copy { font-size: 22px !important; color: var(--ink) !important; }
.chapter-action { margin-top: 22px; }
.chapter-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 22px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.chapter-facts > div > span { display: block; font-size: 10px; font-weight: 750; letter-spacing: .08em; color: var(--teal); }
.chapter-facts strong { display: block; font-size: 17px; line-height: 1.4; margin: 5px 0; }
.chapter-facts p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.chapter-detail { border-bottom: 1px solid #cdd6c7; }
.chapter-detail > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 17px; line-height: 1.4; font-weight: 650; }
.chapter-detail > summary::-webkit-details-marker { display: none; }
.chapter-detail > summary::after { content: '+'; font-weight: 400; font-size: 23px; color: var(--teal); }
.chapter-detail[open] > summary::after { content: '−'; }
.chapter-detail-copy { padding: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.chapter-detail-copy p + p { margin-top: 12px; }
.overview-recenzii .review-gallery { margin-top: 22px; }
.overview-recenzii .rg-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.overview-recenzii .rg-card > a { height: 230px; }
.chapter-about-portrait { float: right; width: 100px; height: 100px; object-fit: cover; object-position: center 20%; border-radius: 14px; margin: 0 0 16px 24px; }
.overview-despre .chapter-detail { clear: both; }
.chapter-offers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.chapter-offer { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--cream); }
.offer-number { font-size: 11px; font-weight: 750; color: var(--teal); }
.chapter-offer h3 { font-size: 25px; line-height: 1.2; margin: 12px 0; }
.chapter-offer p { color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.offer-more { font-size: 14px; font-weight: 750; color: var(--teal); border-bottom: 1px solid #a8b7a0; margin-top: 16px; }
.chapter-offer:hover { background: var(--soft); border-color: #9eaf98; }
.overview-contact .chapter-content { max-width: 520px; }
.overview-contact .contact-screen > h2 { font-size: 30px; line-height: 1.2; margin-bottom: 14px; }
.chapter-legal, .footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 12px; font: 400 11px/1.5 var(--font); color: var(--muted); text-align: left; }
.chapter-legal { margin-top: 18px; }
.chapter-legal > span:first-child, .footer .footer-bottom > span:first-child { flex-basis: auto; white-space: nowrap; }
.site-credit { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; font: inherit; color: inherit; white-space: nowrap; }
.site-credit img { display: block; width: 16px; height: 14px; object-fit: contain; flex: 0 0 16px; opacity: .65; }
.site-credit-copy, .site-credit-name { display: inline; font: inherit; color: inherit; letter-spacing: inherit; }
.detail-return { display: flex; justify-content: center; margin: 0 auto; padding: 12px 18px; }
.detail-return a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 700; }
.main-nav a[aria-current=location] { color: var(--teal); }

@media (max-width:760px) {
  .section-chapters { scroll-padding-top: 68px; }
  .chapter-home main > section { min-height: calc(100svh - 68px); }
  .overview-chapter { padding: 28px 0; }
  .chapter-content > .eyebrow { margin-bottom: 12px; }
  .chapter-content > h2 { font-size: 30px; line-height: 1.15; margin-bottom: 16px; }
  .chapter-content > p:not(.eyebrow):not(.chapter-legal) { font-size: 16px; line-height: 1.7; margin: 14px 0; }
  .chapter-content > .large-copy { font-size: 19px !important; }
  .chapter-action { margin-top: 18px; }
  .chapter-content > .button { width: 100%; font-size: 15px; }
  .chapter-facts { margin: 16px 0 10px; padding: 14px 0; gap: 12px; }
  .chapter-facts strong { font-size: 14px; line-height: 1.4; }
  .chapter-facts p { font-size: 12px; }
  .chapter-facts > div > span { font-size: 9px; }
  .chapter-detail > summary { font-size: 16px; min-height: 48px; padding: 11px 0; }
  .overview-recenzii .review-gallery { margin-top: 16px; }
  .overview-recenzii .rg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .overview-recenzii .rg-card > a { height: clamp(120px,18svh,150px); padding: 8px; }
  .overview-recenzii .rg-filters { margin-bottom: 12px; padding-bottom: 6px; }
  .overview-recenzii .rg-pages { margin-top: 12px; }
  .chapter-about-portrait { width: 76px; height: 76px; margin-left: 18px; }
  .chapter-offers { gap: 12px; margin-top: 18px; }
  .chapter-offer { padding: 16px 14px; }
  .chapter-offer h3 { font-size: 20px; margin: 9px 0; }
  .chapter-offer p { font-size: 13px; }
  .offer-more { margin-top: 14px; font-size: 13px; }
  .overview-contact { padding: 14px 0; }
  .overview-contact .contact-screen > h2 { font-size: 26px; margin-bottom: 12px; }
  .chapter-home .main-nav a[aria-current=location] { background: #dfe8da; }
}
@media (max-width:359px) {
  .overview-chapter { padding-block: 22px; }
  .chapter-content > h2 { font-size: 28px; }
  .chapter-offer { padding: 14px 12px; }
  .chapter-offer h3 { font-size: 18px; }
  .overview-contact .contact-screen > h2 { font-size: 23px; }
}
@media (max-width:359px), (max-height:740px) {
  .overview-contact { padding-block: 10px; }
  .overview-contact .contact-screen > h2 { font-size: 23px; margin-bottom: 8px; }
  .overview-contact .contact-tabs { margin-bottom: 8px; }
  .overview-contact .contact-panel { padding: 10px; }
}

/* Shared markup additions are layout-neutral on the approved phone view. */
.chapter-method { display: contents; }
.desktop-contact-intro { display: none; }


@media (max-width:768px) {
  /* Reference composition: the whole opening fits the available phone screen. */
  .chapter-home .hero { --hero-header: 69px; height: calc(100svh - var(--hero-header)); min-height: 0; padding: 16px 0; }
  .chapter-home .hero > .container { width: calc(100% - 36px); }
  .chapter-home .hero-grid { height: 100%; grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); gap: 16px; align-items: start; }
  .chapter-home .hero-copy { padding: 0; }
  .chapter-home .hero-visual { grid-row: auto; display: grid; grid-template-rows: minmax(0,1fr) auto; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; }
  .chapter-home .hero-image { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; overflow: hidden; border-radius: 20px; }
  .chapter-home .hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
  .chapter-home .hero .photo-note {
    position: static; display: block; margin-top: 12px; padding: 0 4px;
    max-width: 100%; background: transparent; border: 0; border-radius: 0; box-shadow: none; text-align: left;
  }
  .chapter-home .photo-note strong { font-size: 14px; line-height: 1.4; }
  .chapter-home .photo-note div > span { font-size: 12px; line-height: 1.45; margin-top: 3px; }
  .chapter-home .hero h1 { font-size: clamp(30px,8.6vw,36px); line-height: 1.08; margin-bottom: 14px; }
  .chapter-home .hero-intro { font-size: 16px; line-height: 1.45; }
  .chapter-home .hero-description { font-size: 14.5px; line-height: 1.55; margin-top: 10px; }
  .chapter-home .actions { display: grid; grid-template-columns: 1fr; margin-top: 14px; }
  .chapter-home .actions .button { width: 100%; min-height: 50px; padding-block: 12px; justify-content: space-between; }
  .chapter-home .actions .text-link, .chapter-home .hero-location,
  .chapter-home .hero .note-mark, .chapter-home .hero .orbit, .chapter-home .hero .vertical-note { display: none; }
}
@media (min-width:761px) and (max-width:768px) {
  .chapter-home .hero { --hero-header: 77px; }
}
@media (max-width:768px) and (max-height:740px) {
  .chapter-home .hero { padding-block: 10px; }
  .chapter-home .hero-grid { gap: 12px; }
  .chapter-home .hero h1 { font-size: clamp(27px,8vw,31px); margin-bottom: 10px; }
  .chapter-home .hero-intro { font-size: 14px; }
  .chapter-home .hero-description { font-size: 13.5px; line-height: 1.45; margin-top: 8px; }
  .chapter-home .actions { margin-top: 10px; }
  .chapter-home .actions .button { min-height: 46px; padding-block: 10px; }
  .chapter-home .hero .photo-note { margin-top: 10px; }
}

.participation-options { margin: 6px 0 0; padding-left: 17px; color: var(--muted); font-size: 15px; }
.participation-options li + li { margin-top: 6px; }
.chapter-facts .participation-options { font-size: 13px; line-height: 1.5; }
@media (min-width:1001px) { .overview-program .participation-options { font-size: 15px; } }
@media (max-width:760px) { .chapter-facts .participation-options { font-size: 12px; } }

.participation-options + p { margin-top: 8px; }

@media (max-width:1000px) {
  .chapter-home .hero h1 { font-size: clamp(22px,5.7vw,34px); line-height: 1.15; margin-bottom: 16px; }
  .chapter-home .hero h1 em { color: inherit; white-space: nowrap; }
  .chapter-home .hero h1 em::after { background: #df754c; bottom: -3px; height: 2px; }
  .chapter-home .hero-description { font-size: 19px; line-height: 1.25; font-weight: 650; letter-spacing: -.035em; color: var(--green); margin-top: 0; }
  .chapter-home .hero-intro { font-size: 15px; line-height: 1.4; font-weight: 650; color: var(--teal); margin-top: 10px; }
}
@media (max-width:768px) and (max-height:740px) {
  .chapter-home .hero h1 { font-size: clamp(19px,5.2vw,23px); margin-bottom: 12px; }
  .chapter-home .hero-description { font-size: 17px; }
  .chapter-home .hero-intro { font-size: 14px; margin-top: 8px; }
}

.program-highlights { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.program-highlights li { display: flex; align-items: baseline; gap: 9px; }
.program-highlights li > span { color: var(--teal); font-weight: 700; flex-shrink: 0; }
@media (min-width:1001px) { .overview-program .program-highlights { grid-column: 1; grid-row: 3; } }
@media (max-width:760px) { .program-highlights { font-size: 14px; margin-bottom: 16px; } }

.diagnostic-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 32px 0; }
.diagnostic-card { padding: 26px; border: 1px solid var(--line); border-top: 2px solid var(--teal); border-radius: 14px; background: var(--paper); }
.diagnostic-card .eyebrow { font-size: 10px; margin-bottom: 6px; }
.diagnostic-card h3 { margin-bottom: 14px; }
.diagnostic-card p { color: var(--muted); }
.diagnostic-card blockquote { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; color: var(--green); font-size: 15px; line-height: 1.65; }
.diagnostic-turn { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px; background: var(--soft); border-radius: 14px; margin-bottom: 48px; }
.diagnostic-number { display: block; color: var(--teal); font-size: 38px; line-height: 1.2; margin-bottom: 12px; }
.diagnostic-turn p { color: var(--muted); }
.diagnostic-turn strong { color: var(--green); }
@media (max-width:760px) { .diagnostic-cards, .diagnostic-turn { grid-template-columns: 1fr; gap: 18px; } .diagnostic-card { padding: 22px; } .diagnostic-turn { padding: 24px; } }

/* Featured group program, then three equal collaboration options. */
.overview-colaborari .chapter-offers { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.overview-colaborari .chapter-offer:first-child { grid-column: 1 / -1; padding: 32px; background: var(--soft); border-color: #a8b7a0; }
.overview-colaborari .chapter-offer:first-child h3 { font-size: clamp(27px,3vw,38px); max-width: 100%; }
.overview-colaborari .chapter-offer:not(:first-child) h3 { font-size: 23px; }
.overview-colaborari .chapter-offer p { flex: 1; }
@media (max-width:760px) {
  .overview-colaborari .chapter-offers { grid-template-columns: 1fr; grid-template-rows: auto repeat(3,1fr); }
  .overview-colaborari .chapter-offer:first-child { padding: 26px 22px; }
  .overview-colaborari .chapter-offer:not(:first-child) { padding: 22px; }
  .overview-colaborari .chapter-offer p { font-size: 15px; line-height: 1.65; }
}

.consultation-cta .container { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 48px; align-items: start; }
.consultation-form { width: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.consultation-form label { display: block; color: var(--green); font-size: 15px; font-weight: 650; margin-bottom: 18px; }
.consultation-form input { display: block; width: 100%; min-height: 48px; margin-top: 7px; padding: 10px 12px; border: 1px solid #b9c9bb; border-radius: 7px; background: white; color: var(--ink); font-weight: 400; }
.consultation-form .button { width: 100%; white-space: normal; }
.consultation-form .consultation-hint { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 12px; }
@media(max-width:760px) { .consultation-cta .container { grid-template-columns: 1fr; gap: 24px; } .consultation-form { padding: 20px; } }

.continuation-summary { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

.continuation-photo { margin: 0 0 22px; }
.continuation-photo img { width: 100%; height: auto; border-radius: 14px; }
.continuation-photo figcaption { font-size: 13px; color: var(--teal); margin-top: 8px; }

.research-photo { margin-top: 26px; max-width: 420px; }
.research-photo img { width: 100%; height: auto; border-radius: 14px; }

.offer-label .individual-coaching-photo { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; border-radius: 14px; margin-top: 24px; }
