/* ОСТ Premium V11 — private tax practice; preserves V10 URL architecture */
:root{--ost-v11-gold:#c9a574;--ost-v11-ink:#0c1015;--ost-v11-cream:#f2ede6;--ost-v11-soft:#aab2bb}
html{scroll-behavior:smooth}
body{font-synthesis:none}
:focus-visible{outline:2px solid var(--ost-v11-gold);outline-offset:4px}
.nb-premium-home .ost-header{border-bottom-color:rgba(201,165,116,.24)}
.nb-premium-home .ost-nav a{font-size:12px;letter-spacing:.065em}
.nb-premium-home .ost-contact-pill{min-width:41px;min-height:41px}
.nb-premium-home .nb-premium-heading{letter-spacing:-.042em}
.nb-premium-home .nb-premium-desc strong{color:#ede1d1;font-weight:500}
.nb-premium-home .nb-premium-slogan{font-style:italic;font-size:clamp(24px,2.6vw,39px);color:#d4c8b7}
.nb-premium-home .nb-premium-main-btn{font-size:11px;letter-spacing:.08em;min-height:62px}
.nb-premium-home .nb-premium-secondary{font-size:11px}
.nb-premium-home .ost-strip-text{max-width:290px}
.nb-premium-home .ost-section-title{letter-spacing:-.023em}
.nb-premium-home .ost-service h3{line-height:1.27}
.nb-premium-home .ost-service h3 a{color:inherit}
.nb-premium-home .ost-service{border-color:rgba(201,165,116,.22)}
.nb-premium-home .ost-service:hover{border-color:rgba(201,165,116,.6)}
.nb-premium-home .ost-about-portrait{border-color:rgba(201,165,116,.26);box-shadow:0 25px 65px rgba(0,0,0,.33)}
.nb-premium-home .ost-about-copy>p:not(.ost-eyebrow):not(.ost-about-role){line-height:1.83}
/* cases — central premium differentiator */
.v11-cases{background:radial-gradient(ellipse at 0 0,rgba(161,115,62,.10),transparent 47%),linear-gradient(125deg,#10161d,#0b0e12 68%);color:#f3ece3;padding:112px 0 105px;border-top:1px solid rgba(201,165,116,.20);border-bottom:1px solid rgba(201,165,116,.20)}
.v11-cases .ost-shell{width:min(1340px,calc(100% - 90px));margin:auto}
.v11-cases-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.7fr);gap:65px;align-items:end;margin-bottom:43px}
.v11-cases .ost-eyebrow{color:#c9a574}
.v11-cases h2{margin:0;max-width:740px;color:#f3ece3;font:500 clamp(40px,4vw,64px)/1.12 Georgia,'Times New Roman',serif}
.v11-cases-desc{margin:0;max-width:410px;color:#bac0c5;font:400 15px/1.83 'Manrope',Arial,sans-serif}
.v11-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.v11-case{padding:33px 36px 32px;border:1px solid rgba(201,165,116,.22);background:linear-gradient(145deg,rgba(29,36,43,.83),rgba(13,18,23,.9));min-height:315px;transition:border-color .22s,transform .22s}
.v11-case:hover{border-color:rgba(201,165,116,.62);transform:translateY(-2px)}
.v11-case-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;color:#b6a48d;font:500 10px/1.55 'Manrope',Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.v11-case-top span:last-child{color:#aeb6be;text-align:right;letter-spacing:.08em}
.v11-case-top .v11-progress{color:#d1a877!important}
.v11-case-amount{margin:27px 0 10px;color:#dfc49f;font:500 61px/1.07 Georgia,serif;letter-spacing:-.04em}
.v11-case-amount small{font-size:26px;letter-spacing:0}
.v11-case h3{margin:0 0 13px;color:#f0eae1;font:500 23px/1.25 Georgia,serif}
.v11-case p{margin:0;color:#b9c0c7;font:400 14px/1.75 'Manrope',Arial,sans-serif}
.v11-case-active{background:linear-gradient(145deg,rgba(33,31,31,.85),rgba(13,18,23,.9))}
.v11-cases-foot{margin:28px 0 0;color:#949da5;font:400 11px/1.7 'Manrope',Arial,sans-serif;max-width:930px}
/* personal profile timeline */
.v11-bio-timeline{padding:96px 0 92px;background:#eae4db;color:#1f252b}
.v11-bio-timeline .ost-shell{width:min(1180px,calc(100% - 72px));margin:auto}
.v11-bio-timeline .ost-eyebrow{color:#8d6b45;font:600 11px/1.5 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;margin-bottom:21px}
.v11-bio-timeline h2{max-width:840px;margin:0 0 42px;color:#1b2127;font:500 clamp(33px,3.5vw,52px)/1.13 Georgia,serif}
.v11-timeline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #c7b9a7;border-bottom:1px solid #c7b9a7}
.v11-timeline-grid>div{padding:28px 22px 28px 0;margin-right:22px;border-right:1px solid #cfc3b5}
.v11-timeline-grid>div:last-child{border-right:0;margin-right:0}
.v11-timeline-grid span{font:600 12px/1.45 Arial,sans-serif;color:#947149;letter-spacing:.08em}
.v11-timeline-grid h3{font:500 22px/1.2 Georgia,serif;margin:19px 0 10px;color:#262b31}
.v11-timeline-grid p{font:400 13px/1.75 Arial,sans-serif;color:#60656a;margin:0}
.v11-recognitions{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:29px 0 8px}
.v11-recognitions>div{display:flex;align-items:baseline;gap:17px}
.v11-recognitions strong{font:600 17px Georgia,serif;color:#957245}
.v11-recognitions p{margin:0;color:#373b3e;font:400 14px/1.6 Arial,sans-serif}
.v11-career-note{max-width:850px;color:#747675;font:400 11px/1.65 Arial,sans-serif}
.v11-bio-link{display:inline-flex;gap:9px;margin-top:23px;color:#76522f;text-decoration:underline;text-underline-offset:5px;font:500 14px/1.5 Arial,sans-serif}
/* refine conversion */
.nb-premium-home .ost-contact .ost-section-title{max-width:750px}
.nb-premium-home .nb-panel-title{max-width:420px}
.nb-premium-home .ost-footer-copy{max-width:430px}
@media(max-width:1100px){
 .v11-cases .ost-shell{width:min(100% - 54px,1340px)}
 .v11-cases-head{gap:30px}
 .v11-case{padding:26px;min-height:300px}
 .v11-case-amount{font-size:54px}
 .v11-timeline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v11-timeline-grid>div{margin:0;border-right:0;padding:23px;border-bottom:1px solid #cfc3b5}
 .v11-timeline-grid>div:nth-child(odd){border-right:1px solid #cfc3b5}
 .v11-timeline-grid>div:nth-last-child(-n+2){border-bottom:0}
}
@media(max-width:760px){
 .nb-premium-home .nb-premium-main-btn{font-size:11px;white-space:normal;text-align:left;padding:14px 18px}
 .v11-cases{padding:72px 0 69px}
 .v11-cases .ost-shell{width:calc(100% - 36px)}
 .v11-cases-head{display:block;margin-bottom:27px}
 .v11-cases h2{font-size:clamp(36px,9vw,48px);line-height:1.13}
 .v11-cases-desc{margin-top:21px;font-size:13px}
 .v11-case-grid{grid-template-columns:1fr;gap:11px}
 .v11-case{padding:24px 22px;min-height:0}
 .v11-case-top{font-size:9px;letter-spacing:.05em}
 .v11-case-amount{margin-top:19px;font-size:50px}
 .v11-case-amount small{font-size:22px}
 .v11-case h3{font-size:21px}
 .v11-case p{font-size:13px}
 .v11-cases-foot{font-size:10px}
 .v11-bio-timeline{padding:62px 0 60px}
 .v11-bio-timeline .ost-shell{width:calc(100% - 38px)}
 .v11-bio-timeline h2{font-size:34px;margin-bottom:27px}
 .v11-timeline-grid{grid-template-columns:1fr}
 .v11-timeline-grid>div{border-right:0!important;border-bottom:1px solid #cfc3b5!important;padding:22px 0}
 .v11-timeline-grid>div:last-child{border-bottom:0!important}
 .v11-timeline-grid h3{font-size:20px;margin-top:10px}
 .v11-recognitions{grid-template-columns:1fr;gap:15px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.v11-case{transition:none}}
/* Social links are quiet tools, not bright advertising badges */
.nb-premium-home .ost-contact-pill.telegram,.nb-premium-home .ost-contact-pill.whatsapp{background:rgba(21,24,27,.48)!important;color:#d9c6a9!important;border:1px solid rgba(201,165,116,.52)!important;box-shadow:none!important}
.nb-premium-home .ost-contact-pill.telegram:hover,.nb-premium-home .ost-contact-pill.whatsapp:hover{background:rgba(201,165,116,.13)!important;border-color:#dbc59f!important}
@media(max-width:760px){
 .nb-premium-home .nb-premium-layout{gap:22px;padding:29px 0 36px}
 .nb-premium-home .nb-premium-identity{padding:0 0 4px}
 .nb-premium-home .nb-premium-symbol-wrap{max-width:265px}
 .nb-premium-home .nb-premium-business-label{font-size:17px;letter-spacing:.18em;margin:0 auto 8px;gap:10px}
 .nb-premium-home .nb-premium-statement{padding-top:25px}
}

/* Ensure identical premium header contact controls on every page, not just the home page. */
body:not(.nb-premium-home) .ost-header-contacts .ost-contact-pill.telegram,
body:not(.nb-premium-home) .ost-header-contacts .ost-contact-pill.whatsapp{
 background:rgba(20,24,27,.68)!important;color:#ddc6a5!important;
 border:1px solid rgba(201,165,116,.52)!important;box-shadow:none!important;
}
body:not(.nb-premium-home) .ost-header-contacts .ost-contact-pill.telegram:hover,
body:not(.nb-premium-home) .ost-header-contacts .ost-contact-pill.whatsapp:hover{
 background:rgba(201,165,116,.14)!important;border-color:#dfc498!important;
}
/* Avoid accent-colored links inherited by older sections in hero/secondary page headers */
body:not(.nb-premium-home) .ost-header-contacts .ost-contact-pill svg{color:inherit}

.v11-timeline-3{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:1100px){
 .v11-timeline-3{grid-template-columns:repeat(3,minmax(0,1fr));}
 .v11-timeline-3>div{margin:0 14px 0 0;padding:24px 14px 24px 0;border-bottom:0!important;border-right:1px solid #cfc3b5;}
 .v11-timeline-3>div:last-child{border-right:0;margin-right:0;}
}
@media(max-width:760px){
 .v11-timeline-3{grid-template-columns:1fr;}
 .v11-timeline-3>div{padding:22px 0;margin:0;border-right:0!important;border-bottom:1px solid #cfc3b5!important;}
 .v11-timeline-3>div:last-child{border-bottom:0!important;}
}
