/* Public UI refinement: readable typography + visual continuity with approved dark/green render. */
:root{
  --rp-font:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif;
  --rp-bg:#071c2e;--rp-bg2:#0a263d;--rp-panel:rgba(10,38,59,.88);
  --rp-green:#18c34a;--rp-green2:#69ef8e;--rp-white:#fff;--rp-text:#f6fbff;
  --rp-muted:#c6d4df;--rp-line:rgba(155,199,227,.24);--rp-shadow:0 18px 50px rgba(0,0,0,.22);
}
html{font-size:16px;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}
body{font-family:var(--rp-font)!important;line-height:1.55;letter-spacing:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
button,input,select,textarea{font-family:var(--rp-font)!important}
p,li,label,input,select,textarea,button,a{font-kerning:normal}
h1,h2,h3,h4,strong,b{font-family:var(--rp-font)!important;letter-spacing:-.015em;text-wrap:balance}
p{hyphens:none;text-wrap:pretty}
button,.btn,.rpv-btn,.rpv-head-cta{font-weight:750;letter-spacing:0;cursor:pointer}
input,select,textarea{font-size:16px!important;line-height:1.45}
small,.small{line-height:1.5}

/* Approved home render: make small text easier to read without changing composition. */
body.rpv-render-home{font-family:var(--rp-font)!important}
.rpv-brand-copy strong{font-size:20px!important;line-height:1.2}
.rpv-brand-copy span{font-size:12px!important;line-height:1.35}
.rpv-nav{font-size:14px!important}
.rpv-hero h1{line-height:1.06!important;letter-spacing:-.7px!important}
.rpv-hero-sub{font-size:17px!important;line-height:1.5!important}
.rpv-trust span{font-size:13px!important;line-height:1.35!important}
.rpv-service-body h3{font-size:16px!important;line-height:1.25!important}
.rpv-service-body p{font-size:13px!important;line-height:1.45!important}
.rpv-search-copy p,.rpv-section-title p{font-size:13px!important;line-height:1.5!important}
.rpv-field label{font-size:12px!important}
.rpv-input-wrap input{font-size:14px!important}
.rpv-mini-notes{font-size:12px!important}
.rpv-step strong{font-size:14px!important}.rpv-step small{font-size:12px!important;line-height:1.45!important}
.rpv-benefit strong{font-size:14px!important}.rpv-benefit p{font-size:12px!important;line-height:1.45!important}
.rpv-footer{font-size:12px}

/* All public inner pages: same visual language as approved render. */
body[data-service],body.public-render-page{background:linear-gradient(180deg,#071c2e 0%,#061826 100%)!important;color:var(--rp-text)!important;min-height:100vh}
body[data-service] .top,body.public-render-page .top{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96)!important;color:#092039!important;border-bottom:1px solid #d9e4eb!important;backdrop-filter:blur(16px);box-shadow:0 5px 25px rgba(2,20,34,.09)}
body[data-service] .nav,body.public-render-page .nav{min-height:78px;display:flex;align-items:center;gap:28px}
body[data-service] .logo,body.public-render-page .logo{font-size:19px!important;font-weight:850;color:#0a2138!important;white-space:nowrap}
body[data-service] .navlinks,body.public-render-page .navlinks{display:flex;gap:26px;align-items:center;margin-left:auto}
body[data-service] .navlinks a,body.public-render-page .navlinks a{color:#17314a!important;font-size:14px;font-weight:700;position:relative;padding:28px 0}
body[data-service] .navlinks a:hover,body.public-render-page .navlinks a:hover{color:#07973a!important}
body[data-service] .theme,body.public-render-page .theme{display:none!important}
body[data-service] .menuToggle span,body.public-render-page .menuToggle span{background:#0a2138!important}

body[data-service] .serviceHeader{position:relative;overflow:hidden;padding:66px 0 58px!important;background-image:linear-gradient(90deg,rgba(4,24,38,.98),rgba(4,24,38,.84) 48%,rgba(4,24,38,.25)),url('render-home/hero-render.jpg')!important;background-size:cover!important;background-position:center 45%!important;border-bottom:1px solid rgba(255,255,255,.12)}
body[data-service] .serviceHeader:after{content:"";position:absolute;inset:auto 0 0;height:90px;background:linear-gradient(transparent,#071c2e);pointer-events:none}
body[data-service] .serviceHeader .container{position:relative;z-index:2}
body[data-service] .serviceHeader h1{font-size:clamp(36px,4.8vw,58px)!important;line-height:1.04!important;margin:10px 0 16px!important;max-width:850px;color:#fff!important;font-weight:900}
body[data-service] .serviceHeader .sectionLead{max-width:850px;font-size:17px!important;line-height:1.6!important;color:#e9f1f6!important}
body[data-service] .eyebrow{font-size:12px!important;line-height:1.3!important;letter-spacing:.12em!important;font-weight:800!important;color:#6ff294!important}
body[data-service] .pill{font-size:13px!important;line-height:1.35!important;background:rgba(9,42,61,.75)!important;border:1px solid rgba(105,239,142,.4)!important;color:#f4fbff!important;padding:9px 12px!important;border-radius:999px!important}

body[data-service] .section{padding:24px 0!important;background:transparent!important}
body[data-service] .section>.container{max-width:1040px}
body[data-service] .panel{background:linear-gradient(180deg,rgba(15,51,73,.93),rgba(7,31,48,.94))!important;border:1px solid var(--rp-line)!important;border-radius:16px!important;box-shadow:var(--rp-shadow)!important;padding:26px!important;color:var(--rp-text)!important}
body[data-service] .panel h2{font-size:clamp(24px,3vw,32px)!important;line-height:1.15!important;margin:7px 0 22px!important;color:#fff!important}
body[data-service] label{display:block;font-size:14px!important;font-weight:700;color:#e7f0f6!important;margin-bottom:7px}
body[data-service] input:not([type=checkbox]),body[data-service] select,body[data-service] textarea{width:100%;min-height:50px;border-radius:9px!important;border:1px solid #d9e4eb!important;background:#fff!important;color:#172f43!important;padding:12px 14px!important;box-shadow:inset 0 1px 0 rgba(0,0,0,.02);outline:none}
body[data-service] textarea{min-height:120px;resize:vertical}
body[data-service] input:focus,body[data-service] select:focus,body[data-service] textarea:focus{border-color:#42df72!important;box-shadow:0 0 0 3px rgba(24,195,74,.18)!important}
body[data-service] .row{gap:16px!important}
body[data-service] .muted{color:#b8c9d5!important}.tiny{font-size:12px!important}.small{font-size:13px!important}
body[data-service] .note{background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.11)!important;color:#d8e5ed!important;border-radius:11px!important;padding:13px 14px!important}
body[data-service] .result{font-size:clamp(34px,5vw,50px)!important;font-weight:900!important;color:#76ef99!important;line-height:1.1!important}
body[data-service] .btn{min-height:50px!important;border-radius:9px!important;border:1px solid rgba(255,255,255,.22)!important;padding:0 22px!important;font-size:15px!important;font-weight:800!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
body[data-service] .btn.primary{background:linear-gradient(180deg,#27d85a,#0aa83c)!important;color:#fff!important;border-color:#50ee7a!important;box-shadow:0 10px 25px rgba(12,178,61,.24)!important}
body[data-service] .btn.secondary{background:rgba(7,29,45,.72)!important;color:#fff!important;border-color:rgba(151,198,226,.38)!important}
body[data-service] .btn:hover{transform:translateY(-1px)}
body[data-service] .upload{border:1px dashed rgba(111,242,148,.5)!important;background:rgba(5,27,43,.45)!important;border-radius:14px!important;padding:20px!important}
body[data-service] .legalAccept{background:rgba(5,27,43,.62)!important;border-color:rgba(151,198,226,.22)!important}
body[data-service] .legalAccept a{color:#75d6ff!important;text-decoration:underline;text-underline-offset:3px}
body[data-service] .footer{margin-top:34px;background:#051827!important;border-top:1px solid rgba(255,255,255,.12)!important;color:#fff!important}
body[data-service] .footer p,body[data-service] .footer a{color:#b9c9d4!important;font-size:13px!important}

/* Generic public pages (catalog/status/legal): readable scale even before full visual rebuild. */
body:not(.rpv-render-home):not([data-service]) .container{width:min(1120px,calc(100% - 36px))}
body:not(.rpv-render-home):not([data-service]) h1{font-size:clamp(34px,5vw,52px);line-height:1.08}
body:not(.rpv-render-home):not([data-service]) h2{font-size:clamp(25px,3.4vw,34px);line-height:1.18}
body:not(.rpv-render-home):not([data-service]) p{font-size:15px;line-height:1.65}
body:not(.rpv-render-home):not([data-service]) .panel{border-radius:16px}

@media(max-width:900px){
 body[data-service] .navlinks,body.public-render-page .navlinks{display:none}
 body[data-service] .navlinks.open,body.public-render-page .navlinks.open{display:flex;position:absolute;top:70px;left:16px;right:16px;flex-direction:column;align-items:stretch;gap:0;background:#fff;border:1px solid #d9e4eb;border-radius:12px;padding:8px;box-shadow:0 18px 45px rgba(0,0,0,.16)}
 body[data-service] .navlinks a,body.public-render-page .navlinks a{padding:12px 14px}
 body[data-service] .menuToggle,body.public-render-page .menuToggle{display:block;margin-left:auto}
 body[data-service] .serviceHeader{padding:48px 0 42px!important}
 body[data-service] .row{grid-template-columns:1fr!important}
}
@media(max-width:620px){
 html{font-size:16px}
 .rpv-hero h1{font-size:38px!important;line-height:1.08!important}
 .rpv-hero-sub{font-size:16px!important}
 .rpv-service-body p{font-size:13px!important}
 body[data-service] .panel{padding:18px!important;border-radius:13px!important}
 body[data-service] .serviceHeader h1{font-size:36px!important}
 body[data-service] .serviceHeader .sectionLead{font-size:16px!important}
 body[data-service] input:not([type=checkbox]),body[data-service] select,body[data-service] textarea{font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}


/* 2.6.10 — логотип на legacy/public страницах */
body[data-service] .logo,body.public-render-page .logo{
  display:flex!important;
  align-items:center!important;
  padding:4px 7px!important;
  border-radius:9px;
  background:#fff;
  text-decoration:none!important;
}
.brandLogoImg{
  display:block;
  width:220px;
  max-width:31vw;
  height:auto;
}
@media(max-width:900px){.brandLogoImg{width:200px;max-width:58vw}}
@media(max-width:620px){.brandLogoImg{width:168px;max-width:64vw}}

/* 2.6.11 — compact logo for legacy/public headers */
body[data-service] .logo,body.public-render-page .logo{background:transparent!important;padding:0!important;border-radius:0!important;gap:8px!important}
.brandLogoImg{display:none!important}
.brandMarkImg{display:block;width:43px;height:45px;object-fit:contain;flex:0 0 auto}
.brandTextCompact{display:block;line-height:1;min-width:0}
.brandTextCompact strong{display:block!important;font-family:Georgia,"Times New Roman",serif!important;font-size:14px!important;line-height:1.04!important;color:#15352f!important;letter-spacing:.01em!important;white-space:nowrap}
.brandTextCompact small{display:block;font-size:6px;line-height:1.2;letter-spacing:.13em;text-transform:uppercase;color:#65746f;margin-top:4px;white-space:nowrap}
@media(max-width:900px){.brandMarkImg{width:40px;height:42px}.brandTextCompact strong{font-size:13px!important}}
@media(max-width:480px){.brandTextCompact small{display:none}.brandTextCompact strong{font-size:12px!important}}
