/* V19 / Cinematic Obsidian — art direction: black titanium, navy, gold */

:root{--v19-ink:#060911;--v19-blue:#2b62e4;--v19-gold:#d5b77a;--v19-line:rgba(199,177,125,.2)}
body{background:radial-gradient(ellipse 70% 60% at 80% 0%,#182444 0%,#070b16 48%,#030509 100%) fixed!important;color:#f2f1ed;font-family:Manrope,Arial,sans-serif!important;letter-spacing:.005em}
body:before{content:'';pointer-events:none;position:fixed;inset:0;z-index:0;background:linear-gradient(100deg,transparent 0 49.9%,rgba(255,255,255,.02) 50%,transparent 50.1%) 0 0 / 96px 96px;opacity:.3}
.sidebar{background:linear-gradient(155deg,#111827 0%,#080c17 55%,#05070b 100%)!important;border-right:1px solid var(--v19-line)!important;box-shadow:12px 0 70px #0006}
.sidebar .brand{color:#f9f3e7!important;letter-spacing:.16em}
.sidebar nav button{font-family:Rajdhani,Manrope,sans-serif!important;letter-spacing:.085em!important;font-size:15px!important;transition:background .3s,border-color .3s,transform .3s}
.sidebar nav button:hover{transform:translateX(4px);background:linear-gradient(90deg,#d7b77c19,transparent)!important}
.sidebar nav button.active{background:linear-gradient(90deg,#bc9a5b29,transparent)!important;border-left:2px solid var(--v19-gold)!important;color:#f9e6bb!important}
main{position:relative}main>header{background:#060b14dc!important;backdrop-filter:blur(24px);border-bottom:1px solid var(--v19-line)!important}
.page-head .eyebrow,.eyebrow{color:#dcc38b!important;letter-spacing:.23em!important}
.page-head h1{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(36px,5vw,66px)!important;font-weight:600;letter-spacing:.035em!important;text-transform:uppercase}
.hero{background:linear-gradient(115deg,rgba(5,9,16,.98),rgba(14,23,40,.96) 56%,rgba(10,16,28,.99)),radial-gradient(circle at 75% 48%,#30466c,transparent 45%)!important;border:1px solid #9b895b46!important;box-shadow:0 40px 100px #0009, inset 0 0 90px #99aed10a!important;min-height:570px;position:relative;overflow:hidden}
.hero:after{content:'';pointer-events:none;position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(213,183,122,.045) 52%,transparent 65%);animation:v19Sweep 12s ease-in-out infinite}
.hero h1{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(56px,7vw,108px)!important;line-height:.84!important;font-weight:600!important;letter-spacing:-.025em!important;text-shadow:0 6px 35px #000c}
.hero h1 em{color:#d8c28f!important;font-style:normal!important}.hero-pretitle{letter-spacing:.32em!important;color:#c5b48e!important}
.hero-description{font-size:15px!important;line-height:1.85!important;max-width:450px!important;color:#bbc4d0!important}
.hero-visual{isolation:isolate}.hero-emblem{filter:drop-shadow(0 10px 30px #000a)}
.hero-emblem .emblem-shield{width:min(29vw,325px)!important;height:min(29vw,325px)!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important;animation:v19Float 8s ease-in-out infinite}
.hero-emblem .emblem-shield img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px #4774de40);animation:v19SealSpin 55s linear infinite}
.hero-emblem .emblem-shield:after{content:'RMRP • АКАДЕМИЯ';position:absolute;bottom:4%;left:50%;transform:translateX(-50%);font-size:9px;white-space:nowrap;letter-spacing:.22em;color:#f3dfac;background:#070a13d9;padding:5px 11px;border:1px solid #cbb47a55}
.visual-ring{border-color:#c3ad7444!important}.visual-ring.ring-a{animation:v19SealSpin 34s linear infinite}.visual-ring.ring-b{animation:v19SealSpin 48s linear infinite reverse}
.gold,button.gold{background:linear-gradient(115deg,#cbb37d,#f3e0ac,#b79455)!important;color:#11131c!important;border:1px solid #e5ce98!important;font-weight:800!important;letter-spacing:.08em;box-shadow:0 8px 35px #ccad6636;transition:transform .2s,box-shadow .2s!important}.gold:hover{transform:translateY(-2px);box-shadow:0 10px 42px #c9a96d66!important}
.panel,.stats>div,.history-section{background:linear-gradient(140deg,#111a29ed,#0a101bd9)!important;border:1px solid #b8a16d27!important;box-shadow:0 15px 45px #0003!important;border-radius:3px!important}
.panel h2,.history-section h2{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(27px,3vw,38px)!important;letter-spacing:.015em}
.panel:hover{border-color:#c7a76a56!important}input,select,textarea{background:#060c18!important;color:#f2efe8!important;border:1px solid #8b9ab048!important}input:focus,select:focus,textarea:focus{border-color:#c9aa6d!important;outline:1px solid #c9aa6d55!important}
.v19-home-index{position:absolute;right:24px;bottom:16px;z-index:3;font:11px Rajdhani,sans-serif;letter-spacing:.32em;color:#d9c39890}
.certificate-sheet,.sample-document{position:relative!important;background:#f9f5e9!important;color:#1c2837!important;border:16px solid #112b4b!important;outline:3px solid #cfb57b!important;outline-offset:-23px!important;box-shadow:0 30px 90px #0009!important;overflow:hidden}
.certificate-sheet:before,.sample-document:before{content:'';position:absolute;inset:16px;pointer-events:none;border:1px solid #bca06c8c;background:linear-gradient(135deg,#b5a47718,transparent 30%,transparent 70%,#b5a47718)}
.certificate-sheet h2,.sample-document h3{font-family:'Cormorant Garamond',Georgia,serif!important;color:#102e50!important;font-size:clamp(36px,5vw,68px)!important;letter-spacing:.045em!important}
.certificate-sheet h3{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:clamp(29px,4vw,48px)!important;color:#203650!important}
.certificate-stamp,.sample-stamp{position:relative!important;display:grid!important;place-items:center!important;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important;transform:rotate(-9deg)}
.certificate-stamp{width:165px!important;height:165px!important}.sample-stamp{width:145px!important;height:145px!important}.certificate-stamp img,.sample-stamp img{width:100%;height:100%;object-fit:contain;filter:saturate(1.05);opacity:.85}
.certificate-stamp .v19-stamp-label,.sample-stamp span{position:absolute;bottom:15%;left:50%;transform:translateX(-50%);white-space:nowrap;background:#f9f5e9ed;color:#1a4f9c!important;padding:2px 6px;font:700 9px Manrope,sans-serif!important;letter-spacing:.09em}
.sample-stamp em,.sample-stamp b,.sample-stamp small{display:none!important}.v19-sample-watermark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-24deg);font:bold clamp(22px,4vw,50px) Manrope,sans-serif;letter-spacing:.16em;color:#284d7b19;pointer-events:none;white-space:nowrap}
@keyframes v19SealSpin{to{transform:rotate(360deg)}}@keyframes v19Float{50%{transform:translateY(-13px)}}@keyframes v19Sweep{50%{transform:translateX(12%)}}
@media(prefers-reduced-motion:reduce){.hero-emblem .emblem-shield,.hero-emblem .emblem-shield img,.visual-ring,.hero:after{animation:none!important}}
@media(max-width:800px){.hero{min-height:auto}.hero-emblem .emblem-shield{width:210px!important;height:210px!important}.v19-home-index{display:none}}
@media print{.certificate-sheet{box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.certificate-stamp img{opacity:1}}
