
.pv3 { --pv3-gap: 88px; color: var(--text); }
.pv3 .v3-crumbs { padding-top: 28px; }
.pv3 h1, .pv3 h2, .pv3 h3 { overflow-wrap: break-word; }
.pv3 h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; margin-bottom: 12px; }
.pv3 h3 { font-size: 21px; font-weight: 400; }
.pv3 .lead { margin-top: 0; font-size: 18px; color: var(--muted); max-width: 640px; }
.pv3 .label { margin-bottom: 14px; }
.pv3 .label.l-orn { margin-bottom: 14px; }
.pv3 .rs-kaima { height: 20px; max-width: 400px; margin: 24px 0 0; background: url("/images/v3/ru-m/kaima.svg") repeat-x left center; }

/* hero */
.pv3 .hero { padding: 36px 0 0; }
.pv3 .hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.pv3 .hero h1 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 300; letter-spacing: -.035em; line-height: 1.06; }
.pv3 .hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 82%, rgba(237,201,107,.55) 82%); padding: 0 .04em; }
.pv3 .hero .lead { margin-top: 22px; font-size: 19px; }
.pv3 .hero-art { border-radius: var(--r); overflow: hidden; background: var(--paper); aspect-ratio: 3 / 2; }
.pv3 .hero-art img, .pv3 .split-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv3 .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pv3 .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 32px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--accent-dark); }
.pv3 .stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; color: var(--accent-dark); letter-spacing: -.02em; }
.pv3 .stat small { color: var(--muted); font-size: 15px; }
.pv3 .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--accent-dark); }
.pv3 .fact { min-width: 0; padding: 16px 20px 4px 0; overflow-wrap: break-word; hyphens: auto; }
.pv3 .fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.pv3 .fact small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.pv3 .fact b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--ink); }

/* table of contents under the hero (sticky chips, links) */
.pv3 .toc { position: sticky; top: 69px; z-index: 10; margin-top: 48px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pv3 .toc .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.pv3 .toc .wrap::-webkit-scrollbar { display: none; }
.pv3 .toc a { flex: none; padding: 8px 16px; border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.pv3 .toc a:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* sections: plain and paper bands */
.pv3 .section { padding: var(--pv3-gap) 0 0; scroll-margin-top: 130px; }
.pv3 .section-white { margin-top: var(--pv3-gap); padding: 80px 0; background: var(--paper); }
.pv3 .section-white + .section { padding-top: var(--pv3-gap); }
.pv3 .section-white + .section-white { margin-top: 0; padding-top: 0; }
.pv3 .section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.pv3 .section-head p { margin: 0; color: var(--muted); max-width: 620px; }

/* about the profession: text + the path card */
.pv3 .article { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.pv3 .article p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.pv3 .article h3 { margin: 32px 0 12px; font-size: 24px; }
.pv3 .article ul { margin: 0 0 16px; padding: 0; list-style: none; }
.pv3 .article li { position: relative; margin-bottom: 10px; padding-left: 26px; line-height: 1.6; }
.pv3 .article li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid var(--accent-dark); background: #edc96b; }
.pv3 .article li b { color: var(--ink); font-weight: 600; }
.pv3 .aside-card { position: sticky; top: 140px; padding: 28px; border-radius: var(--r); background: #fff; }
.pv3 .aside-card h3 { margin: 0 0 18px; font-size: 24px; }
.pv3 .aside-card .btn { width: 100%; margin-top: 12px; }
.pv3 .path { display: flex; flex-direction: column; }
.pv3 .path-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 18px; }
.pv3 .path-item::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 1px; background: var(--line); }
.pv3 .path-item:last-child::before { display: none; }
.pv3 .path-dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--accent); background: #fff; }
.pv3 .path-item:last-child .path-dot { background: var(--accent); }
.pv3 .path-item b { display: block; color: var(--ink); font-weight: 600; }
.pv3 .path-item span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* colleges, abroad, AI: illustration + link rows */
.pv3 .split { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.pv3 .split-art { border-radius: var(--r); overflow: hidden; background: var(--paper); aspect-ratio: 1; }
.pv3 .split h2 { margin-top: 0; }
.pv3 .split .lead { margin-bottom: 24px; }
.pv3 .list-cards { display: grid; gap: 10px; }
.pv3 .row-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s; }
.pv3 .row-card:hover { color: var(--ink); border-color: transparent; transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(20,20,40,.4); }
.pv3 .row-card b { font-weight: 600; }
.pv3 .row-card small { display: block; color: var(--muted); font-size: 14px; }
.pv3 .code { padding: 7px 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv3 .count { text-align: right; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; color: var(--accent-dark); }
.pv3 .count small { font-family: var(--sans); font-weight: 600; font-size: 12px; color: var(--muted); }
.pv3 .arrow { color: var(--accent-dark); font-weight: 600; }
.pv3 .row-card .arrow { transition: transform .2s; }
.pv3 .row-card:hover .arrow { transform: translateX(4px); }
.pv3 p > .arrow { text-decoration: underline; text-underline-offset: 4px; }
.pv3 p > .arrow:hover { color: var(--accent); }
.pv3 .split-more { margin-top: 20px; }

/* opportunities */
.pv3 .opp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pv3 .opp { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s; }
.pv3 .opp:hover { color: var(--ink); border-color: transparent; transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(20,20,40,.4); }
.pv3 .opp h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35; }
.pv3 .opp p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.pv3 .opp .more { margin-top: auto; color: var(--accent-dark); font-size: 15px; }
.pv3 .tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.pv3 .tag-amber { background: #faf0d2; color: #6b4d00; }
.pv3 .tag-coral { background: #fbe9e3; color: #8f3f1d; }
.pv3 .tag-soon { background: var(--ink); color: #fff; }

/* AI band and the consultation band */
.pv3 .ai-band { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; padding: 40px; border-radius: var(--r); background: var(--paper); }
.pv3 .cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: center; padding: 44px 48px; border-radius: var(--r); background: var(--accent-dark); color: #fff; }
.pv3 .cta h2 { color: #fff; margin-bottom: 10px; }
.pv3 .cta p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; }
.pv3 .cta .hero-actions { margin-top: 0; justify-content: flex-end; }
.pv3 .cta .btn--accent { background: #edc96b; color: #1d1a12; }
.pv3 .cta .btn--accent:hover { background: #fff; color: var(--accent-dark); }
.pv3 .section-white .cta { margin-top: 0; }
.pv3 .abroad-cta { margin-top: 48px; }

/* faq: «Ромб-вкладыш» marks every question (v3/hub-russia) */
.pv3 .faq { max-width: 880px; margin-top: 28px; border-top: 1px solid var(--line); }
.pv3 .faq details { border-bottom: 1px solid var(--line); }
.pv3 .faq summary { position: relative; padding: 20px 48px 20px 36px; list-style: none; cursor: pointer; font: 600 18px/1.35 var(--sans); color: var(--ink); transition: color .15s; }
.pv3 .faq summary::-webkit-details-marker { display: none; }
.pv3 .faq summary::before { content: ""; position: absolute; left: 0; top: 22px; width: 20px; height: 20px; background: var(--accent); -webkit-mask: url("/images/v3/orn/vkladysh.svg") center / contain no-repeat; mask: url("/images/v3/orn/vkladysh.svg") center / contain no-repeat; opacity: .55; transition: opacity .2s; }
.pv3 .faq summary:hover::before, .pv3 .faq details[open] summary::before { opacity: 1; }
.pv3 .faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 26px var(--sans); color: var(--muted); transition: transform .25s; }
.pv3 .faq details[open] summary::after { transform: rotate(45deg); }
.pv3 .faq summary:hover { color: var(--accent); }
.pv3 .faq details p { margin: 0; padding: 0 48px 24px 36px; }

/* related professions */
.pv3 .related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pv3 .related a { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; transition: border-color .15s, color .15s; }
.pv3 .related a:hover { border-color: var(--accent); color: var(--accent-dark); }
.pv3 .related img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

/* hub: filter chips, profession cards, steps */
.pv3 .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pv3 .chip { padding: 9px 18px; border: 1px solid rgba(18,20,26,.14); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px var(--sans); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.pv3 .chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.pv3 .chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.pv3 .prof-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pv3 .prof { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: #fff; color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.pv3 a.prof:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(20,20,40,.4); }
.pv3 .prof-img { aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.pv3 .prof-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pv3 a.prof:hover .prof-img img { transform: scale(1.04); }
.pv3 .prof-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
.pv3 .prof-body h3 { font-size: 22px; }
.pv3 .prof-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pv3 .prof-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.pv3 .prof.is-hidden { display: none; }
.pv3 .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pv3 .step { padding: 28px; border-radius: var(--r); background: var(--paper); }
.pv3 .step-num { margin-bottom: 14px; font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; color: var(--accent-dark); }
.pv3 .step p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

@media (max-width: 1100px) {
  .pv3 .prof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .pv3 .hero-grid, .pv3 .article, .pv3 .split, .pv3 .cta, .pv3 .ai-band { grid-template-columns: 1fr; gap: 32px; }
  .pv3 .split-art { aspect-ratio: 16 / 10; }
  .pv3 .split > .split-art:last-child { order: -1; }
  .pv3 .ai-band .split-art { aspect-ratio: 16 / 10; }
  .pv3 .steps, .pv3 .opp-grid { grid-template-columns: 1fr; }
  .pv3 .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv3 .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .pv3 .cta .hero-actions { justify-content: flex-start; }
  .pv3 .aside-card { position: static; }
}
@media (max-width: 760px) {
  .pv3 { --pv3-gap: 64px; }
  .pv3 .v3-crumbs { padding-top: 20px; }
  .pv3 .hero { padding-top: 24px; }
  .pv3 .hero .lead { font-size: 17px; }
  .pv3 .hero-actions .btn { flex: 1 1 auto; }
  .pv3 .stats { grid-template-columns: 1fr; gap: 0; }
  .pv3 .stat { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .pv3 .stat:last-child { border-bottom: 0; }
  .pv3 .section-white { padding: 56px 0; }
  .pv3 .prof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pv3 .prof-body { padding: 14px; }
  .pv3 .prof-body h3 { font-size: 19px; }
  .pv3 .row-card { gap: 12px; padding: 14px 16px; }
  .pv3 .count { font-size: 22px; }
  .pv3 .cta, .pv3 .ai-band { padding: 28px 22px; }
  .pv3 .cta .btn { width: 100%; }
  .pv3 .faq summary { font-size: 17px; padding-left: 30px; }
  .pv3 .faq summary::before { width: 18px; height: 18px; top: 21px; }
  .pv3 .faq details p { padding-right: 0; padding-left: 30px; }
  /* w20 fix: facts fit 390 px (two columns, long words like «Сестринскому» wrap instead of widening the page) */
  .pv3 .fact { padding-right: 12px; }
  .pv3 .fact + .fact { padding-left: 12px; }
  .pv3 .fact:nth-child(3) { padding-left: 0; }
  .pv3 .fact small { letter-spacing: .04em; }
  .pv3 .fact b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv3 .row-card:hover, .pv3 .opp:hover, .pv3 a.prof:hover, .pv3 a.prof:hover .prof-img img { transform: none; }
  .pv3 .faq summary::before { transition: none; }
}
