/*
PV / ВиПроект · v7 · финальная визуальная полировка
Утвержденная композиция главной и оригинальная фотография сохранены.
Изменены только наложение поверх фото, контраст, ритм текста, фоновые
подложки, адаптивность и интерактивные состояния. Расчеты и контент не меняем.
*/
:root{
 --text:#F2F8FC;
 --muted:#D1E0EA;
 --bright:#7EE6F1;
 --pv-readable:#D7E5EF;
 --pv-readable-soft:#B9D0DF;
 --pv-surface:#112432;
 --pv-surface-raised:#182F40;
 --pv-edge:rgba(135,200,224,.25);
}
body{color:var(--text);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body p{color:var(--muted);line-height:1.7}
/* Portrait: keep photo, proportions and outer border. No HUD lines on face. */
.hero .pv-portrait-frame::before,
.hero .pv-portrait-frame::after{content:none!important;display:none!important}
.hero .pv-portrait-decoration,
.hero .pv-portrait-decoration span{display:none!important}
.hero .pv-portrait-frame{box-shadow:0 22px 70px rgba(0,0,0,.24)}
.hero .pv-portrait-image{filter:none!important;opacity:1!important}
/* The subtle blueprint stays in the background of the hero, not over the portrait. */
.hero .pv-original-portrait{isolation:isolate}
.hero .hero-lede{color:#D4E7F1;line-height:1.73}
.hero .hero-pills{color:#ADC7D5}
/* Better readable typography site-wide, without redesigning approved components. */
.section-intro .lede,.lede,.lede.small{color:#D7E6EE;line-height:1.65}
.section-head>div>p:not(.eyebrow),.section-head p,.feature-card p,.about-copy p,
.tile p,.price-card p,.game-panel p,.notice,.contact-side p,.contact-card p,
.calc-panel p,.joke-panel>p:not(.mini-label),.quiz-feedback,
.site-copy p{color:#D2E2EA;line-height:1.72}
.tile,.price-card,.feature-card,.contact-card,.contact-side,.quiz-card,.calc-panel,.quick-card,
.joke-panel,.game-panel,.joke-card{border-color:var(--pv-edge)}
.tile:focus-visible,.game-panel:focus-visible,.btn:focus-visible{outline:3px solid #7DEBEE;outline-offset:4px}
.footer small,.small-note{color:#ADC6D5}
.nav a{color:#D3E3EC}
.nav a:hover,.nav a.active{color:#8EEBF3}
/* Legible introductory headers and breadcrumbs on imported pages. */
.pv-content-intro{padding:clamp(66px,7.6vw,112px) 0 clamp(52px,5.5vw,80px);background:radial-gradient(ellipse at 85% 6%,rgba(21,77,96,.58),transparent 56%),linear-gradient(137deg,#0D1B28 1%,#102333 68%,#0B1A26 100%)}
.pv-content-intro::before{opacity:.27;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 54%,#000 100%)}
.pv-content-intro h1{font-size:clamp(36px,4.45vw,66px);line-height:1.17;letter-spacing:-.052em;max-width:940px;margin:20px 0 24px;overflow-wrap:normal;hyphens:auto;text-wrap:balance}
.pv-content-intro .eyebrow{color:#90E6F0}
.pv-intro-subtitle{font-size:clamp(17px,1.45vw,20px);line-height:1.75;max-width:790px;color:#D8E7F0;margin-bottom:25px}
.pv-breadcrumb{font-size:13px;line-height:1.65;color:#BCD0DE;margin-top:29px;max-width:850px}
.pv-breadcrumb a{color:#94E4EE;text-decoration:underline;text-decoration-color:rgba(148,228,238,.38);text-underline-offset:4px}
.pv-breadcrumb a:hover{color:#fff;text-decoration-color:#fff}
/* Sections: calmer background + clear reading rhythm. */
.pv-imported{color:#EDF8FC}
.pv-imported .section{background:#0C1A26;border-bottom-color:rgba(154,213,234,.17)}
.pv-imported .section:nth-child(2n){background:linear-gradient(142deg,#112737,#0D1D2A)}
.pv-imported .section>.container{position:relative}
.pv-imported .section__header{max-width:850px;margin-bottom:36px}
.pv-imported .section__title,.pv-imported h2{font-size:clamp(28px,3.25vw,46px);line-height:1.23;letter-spacing:-.039em;max-width:930px;text-wrap:balance}
.pv-imported .section__subtitle,.pv-imported p{color:#D2E1EB;line-height:1.74}
.pv-imported .section__subtitle{font-size:clamp(16px,1.33vw,19px);max-width:770px}
.pv-imported .section__label,.pv-imported .system__number,.pv-imported .stage__num,
.pv-imported .why-card__num,.pv-imported .family-card__tag,.pv-imported .norm-item__code,
.pv-imported .humor-card__tag{color:#96E9F1}
.pv-imported h3{line-height:1.32;letter-spacing:-.025em}
/* Consistent cards separate content from backgrounds. */
.pv-imported .system,.pv-imported .stage,.pv-imported .why-card,.pv-imported .humor-card,
.pv-imported .family-card,.pv-imported .norm-item,.pv-imported .service,
.pv-imported .fail-card,.pv-imported .req-card,.pv-imported .slovar-card,
.pv-imported .manifest__item,.pv-imported .project-card{
 background:linear-gradient(155deg,#1A3747,#152938 86%);
 border-color:rgba(150,210,233,.28);
 box-shadow:0 14px 38px rgba(0,0,0,.10)
}
.pv-imported .system__desc,.pv-imported .stage__desc,.pv-imported .why-card__desc,
.pv-imported .humor-card__desc,.pv-imported .norm-item__desc,
.pv-imported .system p,.pv-imported .stage p,.pv-imported .norm-item p,
.pv-imported .family-card p,.pv-imported .why-card p,.pv-imported .humor-card p,
.pv-imported .fail-card p,.pv-imported .req-card p{
 font-size:15px;line-height:1.7;color:#D2E4EF
}
.pv-imported .quote{background:#183242;border-color:#00BCD4;border-radius:0 12px 12px 0}
.pv-imported .quote__text{color:#F2FCFF;line-height:1.43}
.pv-imported .quote__author{color:#BAD4E1;font-size:13px}
.pv-imported .requisites,.pv-imported .remote-banner,.pv-imported .download-block,
.pv-imported .pv-request-card,.pv-request-card{background:#182F40;border-color:rgba(145,211,231,.29)}
.pv-imported .requisites__label{color:#C1D9E5}
.pv-imported .remote-banner__text small{color:#C4DBE7}
.pv-imported .calc-hint{color:#DCF1F5;line-height:1.68}
.pv-imported .calc-param-label{color:#C8DFE8;font-size:14px}
.pv-imported .norm-item__action a{color:#99EFF6}
.pv-imported .calc-wrapper,.pv-imported .test-step{background:#162D3D;border-color:#4E7588}
.pv-imported .calc-wrapper input,.pv-imported .calc-wrapper select,
.pv-imported .calc-wrapper textarea,.pv-imported .form__input,.pv-imported .form__textarea{
 color:#F2FAFF;background:#102735;border-color:#6A8DA0
}
.pv-imported .calc-wrapper input::placeholder,.pv-imported .form__input::placeholder,
.pv-imported .form__textarea::placeholder{color:#B1C7D5;opacity:1}
.pv-imported table th{color:#F0FAFC;background:#234758}
.pv-imported table td{color:#E7F5F9;background:#193648}
.pv-imported .test-answer{color:#F2FAFC;border-color:#5A8092}
.pv-imported .test-q-num{color:#9DEFF5}
.pv-imported .requisites__row{border-bottom-color:#426375}
.pv-personal-intro p{color:#D8E7EF;line-height:1.76}
/* Basic internal pages: respect existing design, boost reading clarity. */
.section-intro{padding-top:clamp(65px,8vw,110px)}
.section-intro h1{font-size:clamp(36px,4.7vw,68px);line-height:1.18;letter-spacing:-.052em;text-wrap:balance}
.section p,.section .small-note{line-height:1.75}
.section .tile p{line-height:1.65}
/* Better document listings + quiet highlights. */
.pv-imported .norm-group{padding:10px 0}
.pv-imported .norm-group__title{line-height:1.3}
.pv-imported a[href$=".pdf"]{color:#91E7F2;text-decoration-thickness:1px}
/* Readable focus/hover everywhere. */
a,button{transition-color .16s,border-color .16s,background-color .16s}
a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #84EDF4;outline-offset:3px}
/* Desktop and small devices. */
@media (max-width:1080px){
 .pv-content-intro h1{font-size:clamp(36px,5.8vw,59px)}
 .pv-imported .section__title,.pv-imported h2{font-size:clamp(27px,4.2vw,43px)}
}
@media (max-width:740px){
 .pv-content-intro{padding:66px 0 48px}
 .pv-content-intro h1{font-size:clamp(32px,8.3vw,48px);letter-spacing:-.046em;line-height:1.19;margin:16px 0 20px}
 .pv-intro-subtitle{font-size:16px;line-height:1.75;margin-bottom:22px}
 .pv-breadcrumb{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
 .pv-imported .section{padding:55px 0}
 .pv-imported .section__header{margin-bottom:27px}
 .pv-imported .section__title,.pv-imported h2{font-size:clamp(27px,7vw,39px);line-height:1.25}
 .pv-imported .section__subtitle{font-size:16px}
 .pv-imported .system,.pv-imported .stage,.pv-imported .why-card,
 .pv-imported .humor-card,.pv-imported .norm-item,.pv-imported .family-card,
 .pv-imported .fail-card,.pv-imported .req-card{padding:21px}
 .pv-imported .quote{padding:26px 23px}
 .pv-imported .quote__text{font-size:clamp(21px,6vw,28px)}
 .section-intro h1{font-size:clamp(32px,8.3vw,48px)}
}
@media (max-width:390px){
 .pv-content-intro h1{font-size:clamp(30px,8.2vw,35px)}
 .pv-imported .section__title,.pv-imported h2{font-size:clamp(26px,7vw,33px)}
 .pv-breadcrumb{font-size:12px}
 .pv-imported .norm-item{padding:17px}
}
@media (prefers-reduced-motion:reduce){.tile,.btn,.game-panel{transition:none}}
