/*
 * Русский Дом Масел — Stage 9.1.1 Premium Interface
 * Hosting-ready visual layer. Does not alter lead-agent logic, form logic, links, or content.
 */
:root{
  --rdm91-gold:#e8c27f;
  --rdm91-gold-strong:#c98a43;
  --rdm91-champagne:#f5e7d0;
  --rdm91-coffee:#160904;
  --rdm91-glass:rgba(20,8,4,.72);
  --rdm91-line:rgba(232,194,127,.28);
  --rdm91-line-strong:rgba(232,194,127,.58);
  --rdm91-ease:cubic-bezier(.16,1,.3,1);
  --rdm91-ease-snappy:cubic-bezier(.2,.8,.2,1);
  --rdm91-shadow:0 32px 90px rgba(7,2,1,.32);
  --rdm91-shadow-gold:0 22px 68px rgba(155,92,37,.25);
}

html{scroll-padding-top:120px}
body{position:relative}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(900px 620px at 5% 18%,rgba(189,135,72,.09),transparent 64%),
    radial-gradient(760px 560px at 96% 72%,rgba(224,182,111,.07),transparent 67%),
    linear-gradient(180deg,#110704,#0b0301 48%,#120805);
}
body:after{
  content:"";
  position:fixed;
  inset:0;
  z-index:998;
  pointer-events:none;
  opacity:.11;
  background:linear-gradient(105deg,transparent 0 47%,rgba(255,255,255,.025) 49%,transparent 51% 100%);
  transform:translateX(-80%);
  animation:rdm91AmbientSweep 16s ease-in-out infinite;
}
@keyframes rdm91AmbientSweep{0%,74%,100%{transform:translateX(-80%)}88%{transform:translateX(80%)}}

/* Build marker and scroll progress */
.rdm91-progress{
  position:fixed;
  left:0;top:0;
  width:100%;height:3px;
  z-index:2200;
  transform:scaleX(0);
  transform-origin:left center;
  pointer-events:none;
  background:linear-gradient(90deg,#7f461e 0%,#d79b50 35%,#f5d79d 66%,#b97534 100%);
  box-shadow:0 0 22px rgba(232,194,127,.52);
}
.rdm91-cursor-glow{
  position:fixed;
  left:0;top:0;
  width:420px;height:420px;
  margin:-210px 0 0 -210px;
  border-radius:50%;
  z-index:997;
  pointer-events:none;
  opacity:0;
  transform:translate3d(var(--rdm91-x,-1000px),var(--rdm91-y,-1000px),0);
  background:radial-gradient(circle,rgba(232,194,127,.09),rgba(232,194,127,.025) 33%,transparent 67%);
  transition:opacity .35s ease;
  mix-blend-mode:screen;
}
html.rdm91-pointer-active .rdm91-cursor-glow{opacity:1}

/* Top bar + glass header — intentionally noticeable */
.topbar{
  background:linear-gradient(90deg,#070201,#160904 50%,#070201)!important;
  border-bottom:1px solid rgba(232,194,127,.12);
  color:#d8b98e!important;
  box-shadow:0 6px 28px rgba(0,0,0,.24);
}
.header{
  /* Stage 9.1.2: at the top, the navigation remains genuinely transparent
     so the hero video or product image is visible through it. */
  background:transparent!important;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  border-bottom:1px solid transparent!important;
  box-shadow:none!important;
  transition:height .55s var(--rdm91-ease),background .48s ease,box-shadow .48s ease,border-color .48s ease,transform .45s var(--rdm91-ease),backdrop-filter .48s ease!important;
}
.header:before{
  content:"";
  position:absolute;
  left:4%;right:4%;bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(232,194,127,.72),transparent);
  transform:scaleX(.46);
  opacity:.45;
  transition:transform .7s var(--rdm91-ease),opacity .45s ease;
}
.header:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(620px 90px at 50% 0,rgba(232,194,127,.09),transparent 74%);
}
.header.scrolled{
  background:linear-gradient(180deg,rgba(43,19,10,.98),rgba(25,9,4,.96))!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
  backdrop-filter:blur(18px) saturate(1.12);
  box-shadow:0 18px 55px rgba(0,0,0,.34)!important;
  border-bottom-color:rgba(232,194,127,.25)!important;
}
.header.scrolled:before{transform:scaleX(1);opacity:.82}
/* Transparent-at-top header readability without hiding the hero media. */
.header:not(.scrolled) .nav a,
.header:not(.scrolled) .brand-copy,
.header:not(.scrolled) .menu-btn{filter:drop-shadow(0 2px 10px rgba(0,0,0,.72))}
.header:not(.scrolled):after{opacity:.18}
.header.scrolled:after{opacity:1}

.brand{position:relative}
.brand:before{
  content:"";
  position:absolute;
  width:122px;height:122px;
  left:50%;top:50%;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(.74);
  background:radial-gradient(circle,rgba(232,194,127,.15),transparent 69%);
  opacity:.45;
  transition:transform .8s var(--rdm91-ease),opacity .6s ease;
}
.brand:hover:before{transform:translate(-50%,-50%) scale(1);opacity:.9}
.brand img{position:relative;z-index:1;transition:transform .75s var(--rdm91-ease),filter .55s ease!important}
.brand:hover img{transform:translateY(-3px) scale(1.035);filter:drop-shadow(0 15px 28px rgba(0,0,0,.45)) drop-shadow(0 0 16px rgba(232,194,127,.18))}
.nav a{
  padding:10px 0;
  transition:color .28s ease,text-shadow .28s ease,transform .35s var(--rdm91-ease)!important;
}
.nav a:hover{color:#f6e4c7!important;text-shadow:0 0 22px rgba(232,194,127,.2);transform:translateY(-2px)}
.nav a:after{height:2px!important;bottom:2px!important;background:linear-gradient(90deg,#a96c34,#f0cd8f)!important;box-shadow:0 0 10px rgba(232,194,127,.32)}

/* Premium buttons and injected icons */
.btn,.request-submit,.rdm-agent-action,.rdm-agent-chip,.rdm-agent-send{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transform:translateZ(0);
}
.btn{
  gap:14px;
  min-height:58px!important;
  padding-left:26px!important;
  padding-right:14px!important;
  border:1px solid transparent!important;
  box-shadow:0 14px 34px rgba(6,2,1,.16);
  transition:transform .42s var(--rdm91-ease),box-shadow .42s ease,border-color .35s ease,filter .35s ease!important;
}
.btn:before,.request-submit:before,.rdm-agent-action:before,.rdm-agent-chip:before,.rdm-agent-send:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-140%;bottom:-140%;left:-55%;width:34%;
  transform:rotate(17deg) translateX(-300%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
  transition:transform .9s var(--rdm91-ease);
  pointer-events:none;
}
.btn:hover:before,.request-submit:hover:before,.rdm-agent-action:hover:before,.rdm-agent-chip:hover:before,.rdm-agent-send:hover:before{transform:rotate(17deg) translateX(720%)}
.btn.gold{
  background:linear-gradient(135deg,#95551f 0%,#c8883d 42%,#e4b96c 100%)!important;
  border-color:rgba(255,232,192,.36)!important;
  box-shadow:0 18px 46px rgba(157,91,31,.28),inset 0 1px 0 rgba(255,255,255,.26)!important;
}
.btn.ghost{
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;
  border-color:rgba(245,231,208,.42)!important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.btn.dark{
  background:linear-gradient(135deg,#120603,#2a140a)!important;
  border-color:rgba(201,138,67,.38)!important;
  box-shadow:0 18px 42px rgba(10,4,2,.2)!important;
}
.btn:hover{transform:translateY(-5px) scale(1.012);box-shadow:0 28px 68px rgba(8,3,1,.28)!important}
.btn.gold:hover{filter:brightness(1.08) saturate(1.04);box-shadow:0 28px 70px rgba(157,91,31,.4),0 0 0 1px rgba(255,233,197,.18) inset!important}
.btn:active{transform:translateY(-1px) scale(.982)}
.rdm91-btn-icon{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:34px;height:34px;
  margin-left:auto;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.1);
  transition:transform .42s var(--rdm91-ease),background .35s ease,border-color .35s ease;
}
.rdm91-btn-icon svg{width:15px;height:15px;display:block;transition:transform .42s var(--rdm91-ease)}
.btn:hover .rdm91-btn-icon{transform:translateX(2px) rotate(-4deg);background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.42)}
.btn:hover .rdm91-btn-icon svg{transform:translate(2px,-1px)}
.rdm91-ripple{position:absolute;border-radius:50%;pointer-events:none;background:rgba(255,255,255,.28);transform:translate(-50%,-50%) scale(0);animation:rdm91Ripple .72s ease-out forwards}
@keyframes rdm91Ripple{to{transform:translate(-50%,-50%) scale(7);opacity:0}}

/* Hero: premium entrance, stronger light, visual depth */
.hero:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(760px 520px at 80% 42%,rgba(213,157,80,.11),transparent 66%),
    linear-gradient(180deg,rgba(255,255,255,.015),transparent 32%);
}
/* Stage 9.1.1: decorative circular orbit removed from the main video hero. */
.hero:after{content:none!important;display:none!important}
.hero-media video,.hero-media img{transform:scale(1.055);filter:saturate(.92) contrast(1.04);transition:transform 8s var(--rdm91-ease),filter 1.4s ease!important}
html.rdm91-ready .hero-media video,html.rdm91-ready .hero-media img{transform:scale(1);filter:saturate(1) contrast(1.02)}
.hero-media:after{background:linear-gradient(90deg,rgba(7,2,1,.98) 0%,rgba(11,4,2,.88) 34%,rgba(11,4,2,.18) 69%,rgba(11,4,2,.42) 100%),linear-gradient(0deg,rgba(8,3,1,.92),transparent 44%)!important}
.hero h1{text-shadow:0 18px 46px rgba(0,0,0,.3)}
.hero h1 em{background:linear-gradient(135deg,#f5dfba,#cb8d47 62%,#f2cf93);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 10px 24px rgba(167,102,44,.18))}
.hero-copy>*{opacity:0;transform:translateY(38px);filter:blur(7px);transition:opacity .9s var(--rdm91-ease),transform 1s var(--rdm91-ease),filter .8s ease}
html.rdm91-ready .hero-copy>*{opacity:1;transform:none;filter:none}
.hero-copy>*:nth-child(1){transition-delay:.08s}.hero-copy>*:nth-child(2){transition-delay:.17s}.hero-copy>*:nth-child(3){transition-delay:.29s}.hero-copy>*:nth-child(4){transition-delay:.4s}
.hero-side,.video-badge{opacity:0;transform:translateY(30px);filter:blur(5px);transition:opacity .95s .46s var(--rdm91-ease),transform .95s .46s var(--rdm91-ease),filter .8s .46s ease}
html.rdm91-ready .hero-side,html.rdm91-ready .video-badge{opacity:1;transform:none;filter:none}
.hero-note{position:relative;padding:26px 25px!important;border:1px solid rgba(232,194,127,.22)!important;border-left:2px solid rgba(232,194,127,.72)!important;border-radius:0 22px 22px 0;background:linear-gradient(135deg,rgba(20,8,4,.52),rgba(20,8,4,.16));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 20px 55px rgba(0,0,0,.18)}
.video-badge:before{animation:rdm91Pulse 2.3s ease-in-out infinite!important}
@keyframes rdm91Pulse{0%,100%{box-shadow:0 0 0 5px rgba(232,194,127,.08),0 0 14px rgba(232,194,127,.15)}50%{box-shadow:0 0 0 13px rgba(232,194,127,0),0 0 30px rgba(232,194,127,.38)}}

/* Section depth and heading accents */
.section{position:relative;overflow:hidden}
.section:before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(232,194,127,.22),transparent);opacity:.72}
.section.dark:after,.section.deep:after{content:"";position:absolute;width:620px;height:620px;right:-310px;top:-270px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(196,127,56,.085),transparent 68%)}
.section.cream:after,.section.paper:after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.38;background:linear-gradient(110deg,transparent 0 49.5%,rgba(126,77,39,.025) 50%,transparent 50.5% 100%)}
.section>.wrap{position:relative;z-index:1}
.section-head .display,.intro-grid>.display,.quality-sticky .display,.split-copy .display,.price-copy .display,.price-hero .display{position:relative}
.section-head .display:after,.quality-sticky .display:after,.price-copy .display:after{
  content:"";
  display:block;
  width:72px;height:2px;
  margin-top:24px;
  background:linear-gradient(90deg,#a96c34,#e8c27f,transparent);
  box-shadow:0 0 14px rgba(232,194,127,.2);
}

/* Reveal — clear and elegant, safe fallback */
html.rdm91-motion .rdm91-reveal{opacity:0;transform:translate3d(0,54px,0) scale(.985);filter:blur(8px);clip-path:inset(0 0 12% 0);transition:opacity .85s var(--rdm91-ease),transform 1s var(--rdm91-ease),filter .75s ease,clip-path 1s var(--rdm91-ease);transition-delay:var(--rdm91-delay,0ms);will-change:opacity,transform,filter}
html.rdm91-motion .rdm91-reveal.rdm91-left{transform:translate3d(-58px,0,0) scale(.985);clip-path:inset(0 8% 0 0)}
html.rdm91-motion .rdm91-reveal.rdm91-right{transform:translate3d(58px,0,0) scale(.985);clip-path:inset(0 0 0 8%)}
html.rdm91-motion .rdm91-reveal.rdm91-visible{opacity:1;transform:none;filter:none;clip-path:inset(0)}

/* Premium cards */
.product-card,.editorial-shot,.related a,.arch-card,.metric,.quality-row,.use-card,.quick-fact,.step,.detail,.download-card,.price-callout,.price-doc-card{
  --rdm91-px:50%;--rdm91-py:50%;
  position:relative;
  isolation:isolate;
  transition:transform .65s var(--rdm91-ease),box-shadow .65s var(--rdm91-ease),border-color .42s ease,background-color .42s ease!important;
}
.product-card:before,.editorial-shot:before,.related a:before,.arch-card:before,.metric:before,.quality-row:before,.use-card:before,.quick-fact:before,.step:before,.detail:before,.download-card:before,.price-callout:before,.price-doc-card:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  opacity:0;
  border-radius:inherit;
  background:radial-gradient(520px circle at var(--rdm91-px) var(--rdm91-py),rgba(245,231,208,.18),transparent 43%);
  transition:opacity .42s ease;
}
.product-card:hover:before,.editorial-shot:hover:before,.related a:hover:before,.arch-card:hover:before,.metric:hover:before,.quality-row:hover:before,.use-card:hover:before,.quick-fact:hover:before,.step:hover:before,.detail:hover:before,.download-card:hover:before,.price-callout:hover:before,.price-doc-card:hover:before{opacity:1}
.product-card,.editorial-shot,.related a{border:1px solid rgba(232,194,127,.18)!important;box-shadow:0 24px 64px rgba(11,4,2,.16),inset 0 1px 0 rgba(255,255,255,.04)!important}
.product-card:hover,.editorial-shot:hover,.related a:hover{transform:translateY(-11px) scale(1.006);border-color:rgba(232,194,127,.44)!important;box-shadow:0 42px 104px rgba(10,3,1,.3),0 0 0 1px rgba(232,194,127,.06) inset!important}
.product-card img,.editorial-shot img,.related img{transition:transform 1.15s var(--rdm91-ease),filter .65s ease!important}
.product-card:hover img,.editorial-shot:hover img,.related a:hover img{transform:scale(1.075)!important;filter:saturate(1.07) contrast(1.03)!important}
.product-card .copy,.editorial-shot figcaption{transition:transform .7s var(--rdm91-ease)}
.product-card:hover .copy,.editorial-shot:hover figcaption{transform:translateY(-8px)}
.rdm91-card-arrow{
  position:absolute;
  top:22px;right:22px;
  z-index:6;
  width:46px;height:46px;
  display:grid;place-items:center;
  border-radius:50%;
  border:1px solid rgba(245,231,208,.36);
  background:rgba(16,6,3,.44);
  color:#f4d8aa;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  transform:translateY(-8px) scale(.92);
  opacity:0;
  transition:opacity .42s ease,transform .55s var(--rdm91-ease),background .35s ease;
}
.rdm91-card-arrow svg{width:18px;height:18px}
.product-card:hover .rdm91-card-arrow,.related a:hover .rdm91-card-arrow{opacity:1;transform:none;background:rgba(158,93,37,.64)}
.arch-card,.metric,.quality-row,.use-card,.quick-fact,.step,.detail{border-color:rgba(232,194,127,.16)!important}
.arch-card:hover,.metric:hover,.quality-row:hover,.use-card:hover,.quick-fact:hover,.step:hover,.detail:hover{transform:translateY(-6px);background:linear-gradient(150deg,rgba(232,194,127,.075),rgba(255,255,255,.012))!important;box-shadow:0 26px 74px rgba(7,2,1,.16)}
.metric .metric-icon{position:relative}
.metric .metric-icon:after{content:"";position:absolute;inset:4px;border-radius:50%;border:1px solid rgba(232,194,127,.16);transform:scale(.8);opacity:0;transition:transform .55s var(--rdm91-ease),opacity .4s ease}
.metric:hover .metric-icon:after{transform:scale(1.18);opacity:1}
.metric .metric-icon svg{transition:transform .7s var(--rdm91-ease),filter .5s ease!important}
.metric:hover .metric-icon svg{transform:translateY(-5px) rotate(-3deg) scale(1.04);filter:drop-shadow(0 8px 15px rgba(232,194,127,.2))}
.arch-card span,.quality-row>span,.step>span,.quick-fact strong{transition:transform .55s var(--rdm91-ease),color .4s ease,text-shadow .4s ease}
.arch-card:hover span,.quality-row:hover>span,.step:hover>span,.quick-fact:hover strong{transform:translateY(-4px);color:#efcb8d!important;text-shadow:0 0 26px rgba(232,194,127,.18)}

/* Split and imagery */
.split{border-color:rgba(232,194,127,.27)!important;box-shadow:0 40px 120px rgba(7,2,1,.27)!important}
.split-media:before,.spec-media:before,.product-hero-media:before,.price-hero-media:before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;border:1px solid rgba(232,194,127,.15);border-radius:inherit}
.split-media img,.spec-media img,.product-hero-media img,.price-hero-media img{transition:transform 1.3s var(--rdm91-ease),filter .8s ease!important;will-change:transform}
.split:hover .split-media img,.spec-layout:hover .spec-media img{transform:scale(1.04);filter:saturate(1.05)}
.quality-list{border-color:rgba(232,194,127,.22)!important;box-shadow:0 30px 86px rgba(5,2,1,.2)!important}
.price-callout,.download-card{border:1px solid rgba(232,194,127,.24)!important;box-shadow:0 42px 120px rgba(5,2,1,.3)!important}
.price-doc-card{border:1px solid rgba(232,194,127,.26)!important;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important}
.price-doc-icon svg,.file-icon svg{transition:transform .7s var(--rdm91-ease),filter .5s ease}
.price-doc-card:hover .price-doc-icon svg,.download-card:hover .file-icon svg{transform:translateY(-5px) rotate(-3deg);filter:drop-shadow(0 10px 16px rgba(232,194,127,.2))}

/* Modal / form */
.request-modal{transition:opacity .45s ease,visibility .45s ease!important}
.request-backdrop{background:rgba(6,2,1,.86)!important;-webkit-backdrop-filter:blur(18px) saturate(.8)!important;backdrop-filter:blur(18px) saturate(.8)!important}
.request-dialog{opacity:0;transform:translateY(34px) scale(.965);transition:opacity .55s var(--rdm91-ease),transform .7s var(--rdm91-ease),box-shadow .6s ease!important;border-color:rgba(232,194,127,.52)!important;box-shadow:0 56px 160px rgba(0,0,0,.65)!important}
.request-modal.open .request-dialog{opacity:1;transform:none}
.request-intro{background:radial-gradient(circle at 100% 100%,rgba(196,127,56,.18),transparent 42%),linear-gradient(145deg,#1b0b05,#0e0402)!important}
.request-intro:after{content:"";position:absolute;left:38px;right:38px;top:34px;height:1px;background:linear-gradient(90deg,rgba(232,194,127,.72),transparent)}
.request-field input,.request-field select,.request-field textarea{transition:border-color .3s ease,box-shadow .3s ease,background .3s ease,transform .3s var(--rdm91-ease)!important}
.request-field input:hover,.request-field select:hover,.request-field textarea:hover{border-color:rgba(157,106,53,.44);background-color:rgba(255,250,242,.72)}
.request-field input:focus,.request-field select:focus,.request-field textarea:focus{transform:translateY(-1px);border-color:#a96c34!important;box-shadow:0 0 0 4px rgba(169,108,52,.11),0 15px 34px rgba(75,39,17,.08)!important;background:#fffaf2!important}
.request-submit{min-height:60px;border:1px solid rgba(232,194,127,.34)!important;background:linear-gradient(135deg,#180804,#3b1c0e)!important;box-shadow:0 18px 44px rgba(35,15,6,.2);transition:transform .42s var(--rdm91-ease),box-shadow .42s ease,background .35s ease!important}
.request-submit:hover{transform:translateY(-4px)!important;background:linear-gradient(135deg,#2b1108,#5a2c14)!important;box-shadow:0 28px 65px rgba(54,25,10,.28)}
.request-close{transition:transform .5s var(--rdm91-ease),background .3s ease,border-color .3s ease!important}
.request-close:hover{transform:rotate(90deg) scale(1.05)!important;border-color:rgba(169,108,52,.45)}

/* Full-screen menu */
.menu{background:radial-gradient(800px 580px at 82% 18%,rgba(189,135,72,.15),transparent 67%),linear-gradient(135deg,#090301,#1b0b05 55%,#090301)!important;clip-path:circle(0 at calc(100% - 58px) 72px);transition:clip-path .82s var(--rdm91-ease),opacity .42s ease,visibility .42s ease!important}
.menu.open{clip-path:circle(150% at calc(100% - 58px) 72px)}
.menu-inner>*{opacity:0;transform:translateY(38px);filter:blur(5px);transition:opacity .7s var(--rdm91-ease),transform .8s var(--rdm91-ease),filter .7s ease!important}
.menu.open .menu-inner>*{opacity:1;transform:none;filter:none}
.menu.open .menu-inner>*:nth-child(1){transition-delay:.18s!important}.menu.open .menu-inner>*:nth-child(2){transition-delay:.3s!important}
.menu-links a{position:relative;transition:transform .55s var(--rdm91-ease),color .35s ease,padding-left .55s var(--rdm91-ease)!important}
.menu-links a:after{content:"↗";position:absolute;right:8%;top:50%;font-size:.42em;color:#e8c27f;opacity:0;transform:translate(-14px,-50%);transition:opacity .35s ease,transform .5s var(--rdm91-ease)}
.menu-links a:hover{transform:translateX(12px);color:#f4dcb6!important}
.menu-links a:hover:after{opacity:1;transform:translate(0,-50%)}
.menu-close{transition:transform .55s var(--rdm91-ease),background .35s ease!important}.menu-close:hover{transform:rotate(90deg);background:rgba(232,194,127,.1)!important}
.menu-btn{position:relative;overflow:hidden;border-color:rgba(232,194,127,.36)!important;background:rgba(20,8,4,.36)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .4s var(--rdm91-ease),background .35s ease,border-color .35s ease!important}
.menu-btn:hover{transform:translateY(-3px) rotate(-2deg);background:rgba(232,194,127,.1)!important;border-color:rgba(232,194,127,.7)!important}
.menu-btn i{transition:transform .45s var(--rdm91-ease),opacity .25s ease,width .35s var(--rdm91-ease)!important}
.menu-btn[aria-expanded="true"] i:nth-child(1){transform:translateY(5px) rotate(45deg)}.menu-btn[aria-expanded="true"] i:nth-child(2){opacity:0;width:4px}.menu-btn[aria-expanded="true"] i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

/* GPT lead agent — visual layer only */
.rdm-agent-launcher{border-color:rgba(232,194,127,.56)!important;background:linear-gradient(135deg,rgba(27,11,5,.98),rgba(10,3,1,.98))!important;box-shadow:0 28px 90px rgba(0,0,0,.5),0 0 0 1px rgba(232,194,127,.07) inset!important;transition:transform .5s var(--rdm91-ease),box-shadow .5s ease,border-color .35s ease!important}
.rdm-agent-launcher:before{content:"";position:absolute;inset:-7px;z-index:-1;border-radius:inherit;background:linear-gradient(120deg,transparent,rgba(232,194,127,.26),transparent);filter:blur(13px);opacity:.42;animation:rdm91AgentAura 4.5s ease-in-out infinite}
@keyframes rdm91AgentAura{0%,100%{opacity:.18;transform:scale(.97)}50%{opacity:.58;transform:scale(1.045)}}
.rdm-agent-launcher:hover{transform:translateY(-7px) scale(1.02)!important;box-shadow:0 40px 110px rgba(0,0,0,.6),0 0 30px rgba(232,194,127,.12)!important}
.rdm-agent-launcher__mark img,.rdm-agent-avatar img{transition:transform .72s var(--rdm91-ease),filter .5s ease}.rdm-agent-launcher:hover .rdm-agent-launcher__mark img{transform:scale(1.07) rotate(-3deg);filter:drop-shadow(0 0 12px rgba(232,194,127,.22))}
.rdm-agent-shell{border-color:rgba(232,194,127,.45)!important;transform:translateY(30px) scale(.95)!important;transition:opacity .38s ease,visibility .38s ease,transform .62s var(--rdm91-ease),box-shadow .5s ease!important}
.rdm-agent-shell.is-open{transform:none!important;box-shadow:0 52px 150px rgba(0,0,0,.7),0 0 0 1px rgba(232,194,127,.08) inset!important}
.rdm-agent-head{background:radial-gradient(circle at 92% -20%,rgba(232,194,127,.2),transparent 46%),linear-gradient(180deg,rgba(255,255,255,.03),transparent)!important}
.rdm-agent-chip,.rdm-agent-action{transition:transform .35s var(--rdm91-ease),background .3s ease,border-color .3s ease,box-shadow .35s ease!important}.rdm-agent-chip:hover,.rdm-agent-action:hover{transform:translateY(-3px);border-color:rgba(232,194,127,.58)!important;box-shadow:0 14px 32px rgba(0,0,0,.2)}
.rdm-agent-send{transition:transform .38s var(--rdm91-ease),box-shadow .38s ease,filter .3s ease!important}.rdm-agent-send:hover{transform:translateY(-3px) scale(1.06)!important;box-shadow:0 20px 46px rgba(169,108,52,.4)!important;filter:brightness(1.08)}
.rdm-agent-bubble{animation:rdm91BubbleIn .42s var(--rdm91-ease)}
@keyframes rdm91BubbleIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

/* Footer */
.footer{position:relative;border-top:1px solid rgba(232,194,127,.25)!important;background:radial-gradient(800px 350px at 50% 0,rgba(189,135,72,.09),transparent 68%),#090301!important;box-shadow:0 -30px 90px rgba(0,0,0,.2)}
.footer:before{content:"";position:absolute;left:8%;right:8%;top:0;height:1px;background:linear-gradient(90deg,transparent,#e0b66f,transparent);opacity:.55}
.footer a{transition:color .3s ease,transform .35s var(--rdm91-ease),text-shadow .3s ease}.footer a:hover{color:#f1d4a8!important;transform:translateX(4px);text-shadow:0 0 18px rgba(232,194,127,.13)}

/* Small screens */
@media(max-width:1100px){
  .header{background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none}
  .header.scrolled{background:linear-gradient(180deg,rgba(43,19,10,.98),rgba(25,9,4,.96))!important;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}
}
@media(max-width:700px){
  body:after,.rdm91-cursor-glow{display:none}
  .rdm91-progress{height:2px}
  .header{background:transparent!important;-webkit-backdrop-filter:none;backdrop-filter:none}
  .header.scrolled{background:linear-gradient(180deg,rgba(43,19,10,.98),rgba(25,9,4,.97))!important;-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}
  .brand:before{width:88px;height:88px}
  .hero-copy>*{transform:translateY(26px);filter:blur(3px)}
  .btn{min-height:55px!important;padding-left:20px!important;padding-right:10px!important;gap:10px}
  .rdm91-btn-icon{width:32px;height:32px}
  html.rdm91-motion .rdm91-reveal,html.rdm91-motion .rdm91-reveal.rdm91-left,html.rdm91-motion .rdm91-reveal.rdm91-right{transform:translate3d(0,30px,0) scale(.99);filter:blur(3px);clip-path:inset(0 0 7% 0)}
  html.rdm91-motion .rdm91-reveal.rdm91-visible{transform:none;filter:none;clip-path:inset(0)}
  .product-card:hover,.editorial-shot:hover,.related a:hover,.arch-card:hover,.metric:hover,.quality-row:hover,.use-card:hover,.quick-fact:hover,.step:hover,.detail:hover{transform:none!important}
  .rdm91-card-arrow{opacity:1;transform:none;width:40px;height:40px;top:16px;right:16px}
  .menu{clip-path:circle(0 at calc(100% - 34px) 60px)}.menu.open{clip-path:circle(170% at calc(100% - 34px) 60px)}
  .request-dialog{transform:translateY(28px) scale(.985)}
  .rdm-agent-shell{transform:translateY(34px)!important}.rdm-agent-shell.is-open{transform:none!important}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  html.rdm91-motion .rdm91-reveal,html.rdm91-motion .rdm91-reveal.rdm91-visible,.hero-copy>*,.hero-side,.video-badge{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}
  .hero-media video,.hero-media img{transform:none!important}
  .menu{clip-path:none!important}
}

/* =========================================================
   STAGE 9.1.4 — B2B price block: complete responsive layout
   Fixes missing display/grid rules that caused text collisions.
   ========================================================= */
.price-callout.premium-price{
  display:grid!important;
  grid-template-columns:minmax(0,1.02fr) minmax(380px,.78fr)!important;
  align-items:center!important;
  gap:clamp(34px,5vw,72px)!important;
  padding:clamp(38px,5vw,68px)!important;
  overflow:hidden;
  isolation:isolate;
}
.price-callout.premium-price>.price-copy,
.price-callout.premium-price>.price-doc-shell{
  min-width:0;
}
.price-callout.premium-price .price-copy h2{
  margin:12px 0 22px;
  line-height:.96;
}
.price-callout.premium-price .price-copy>p:not(.eyebrow){
  margin:0;
  max-width:720px;
  font-size:15px;
  line-height:1.78;
  color:#bda995;
}
.price-pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:28px;
}
.price-pills span{
  display:inline-flex!important;
  align-items:center;
  min-height:34px;
  padding:8px 13px;
  border:1px solid rgba(232,194,127,.22);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#ead2ae;
  font-size:9px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
}
.price-doc-shell{
  width:100%;
  min-width:0;
}
.price-doc-card{
  position:relative;
  display:flex!important;
  flex-direction:column;
  gap:26px;
  width:100%;
  min-width:0;
  padding:32px!important;
  border-radius:28px!important;
  overflow:hidden;
  box-sizing:border-box;
}
.price-doc-head{
  display:grid!important;
  grid-template-columns:76px minmax(0,1fr)!important;
  align-items:start!important;
  gap:20px!important;
  min-width:0;
}
.price-doc-icon{
  display:grid!important;
  place-items:center;
  width:70px!important;
  height:88px!important;
  color:#f0cf97;
  flex:0 0 auto;
}
.price-doc-icon svg{
  display:block;
  width:100%;
  height:100%;
}
.price-doc-meta{
  display:flex!important;
  flex-direction:column;
  min-width:0;
}
.price-doc-meta small{
  display:block!important;
  margin:0 0 10px;
  color:#c7ad8c;
  font-size:9px;
  line-height:1.35;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.price-doc-meta b{
  display:block!important;
  margin:0 0 12px;
  color:#fff;
  font-family:var(--serif);
  font-size:clamp(27px,2.4vw,38px)!important;
  font-weight:400;
  line-height:1.02;
  letter-spacing:-.02em;
}
.price-doc-meta span{
  display:block!important;
  max-width:460px;
  color:#d3c3b4;
  font-size:14px;
  line-height:1.62;
}
.price-doc-foot{
  display:grid!important;
  gap:22px;
  min-width:0;
}
.price-doc-note{
  display:grid!important;
  gap:8px;
  padding:18px!important;
  border:1px solid rgba(232,194,127,.16);
  background:rgba(255,255,255,.025);
}
.price-doc-note strong,
.price-doc-note span{
  display:block!important;
}
.price-doc-note strong{
  color:#f1d5a8;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.price-doc-note span{
  color:#d2c1b1;
  font-size:13px;
  line-height:1.62;
}
.price-doc-card .actions{
  display:flex!important;
  flex-wrap:wrap;
  align-items:center;
  gap:12px!important;
  margin:0!important;
}
.price-doc-card .actions .btn{
  min-width:0;
}

@media(max-width:900px){
  .price-callout.premium-price{
    grid-template-columns:1fr!important;
  }
  .price-doc-shell{max-width:620px}
}

@media(max-width:700px){
  .price-callout.premium-price{
    grid-template-columns:1fr!important;
    gap:24px!important;
    padding:24px 18px!important;
    border-radius:26px!important;
  }
  .price-callout.premium-price .price-copy h2{
    margin:10px 0 16px;
    font-size:42px!important;
    line-height:.98;
  }
  .price-callout.premium-price .price-copy>p:not(.eyebrow){
    font-size:14px;
    line-height:1.65;
  }
  .price-pills{
    gap:7px!important;
    margin-top:20px;
  }
  .price-pills span{
    min-height:30px;
    padding:7px 10px;
    font-size:8px!important;
    letter-spacing:.09em!important;
  }
  .price-doc-card{
    gap:20px;
    padding:20px!important;
    border-radius:22px!important;
  }
  .price-doc-head{
    grid-template-columns:58px minmax(0,1fr)!important;
    align-items:start!important;
    justify-items:stretch!important;
    gap:14px!important;
  }
  .price-doc-icon{
    width:54px!important;
    height:68px!important;
  }
  .price-doc-meta small{
    margin-bottom:7px;
    font-size:8px;
    letter-spacing:.1em;
  }
  .price-doc-meta b{
    margin-bottom:9px;
    font-size:27px!important;
    line-height:1.02;
  }
  .price-doc-meta span{
    font-size:13px;
    line-height:1.52;
  }
  .price-doc-foot{
    gap:14px;
  }
  .price-doc-note{
    gap:7px;
    padding:15px!important;
  }
  .price-doc-note strong{
    font-size:9px;
  }
  .price-doc-note span{
    font-size:13px;
    line-height:1.52;
  }
  .price-doc-card .actions{
    display:grid!important;
    grid-template-columns:1fr;
    gap:10px!important;
    width:100%;
  }
  .price-doc-card .actions .btn{
    width:100%;
    min-width:0;
    justify-content:space-between;
    box-sizing:border-box;
  }
}

@media(max-width:380px){
  .price-callout.premium-price{padding:20px 14px!important}
  .price-doc-card{padding:17px!important}
  .price-doc-head{grid-template-columns:50px minmax(0,1fr)!important;gap:12px!important}
  .price-doc-icon{width:48px!important;height:60px!important}
  .price-doc-meta b{font-size:24px!important}
}
/* =========================================================
   STAGE 9.1.3 — REQUEST FORM LAYOUT FIX
   Исправление заголовка и нижней кнопки формы
   ========================================================= */

.request-dialog {
  align-items: stretch;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
}

.request-intro,
.request-form {
  min-width: 0;
  box-sizing: border-box;
}

/* Заголовок больше не выходит в правую колонку */
.request-intro {
  overflow: hidden;
}

.request-intro h2 {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  font-size: clamp(48px, 4.15vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Правая часть аккуратно помещается в высоту экрана */
.request-form {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-bottom: 30px;
}

/* Кнопка остаётся внутри формы */
.request-submit {
  position: static !important;
  inset: auto !important;
  display: flex;
  width: 100%;
  min-height: 60px;
  margin: 18px 0 0 !important;
  transform: none !important;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.request-submit:hover,
.request-submit:focus,
.request-submit:active {
  transform: none !important;
}

/* Исправление для обычных ноутбуков и экранов небольшой высоты */
@media (min-width: 901px) and (max-height: 900px) {
  .request-dialog {
    max-height: calc(100dvh - 24px);
    grid-template-columns:
      minmax(340px, 0.82fr)
      minmax(540px, 1.18fr);
  }

  .request-intro {
    padding: 38px 42px 34px;
  }

  .request-intro h2 {
    max-width: 100%;
    margin: 16px 0 20px;
    font-size: clamp(44px, 3.65vw, 62px);
    line-height: 0.93;
  }

  .request-intro > p:not(.request-kicker) {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .request-points {
    gap: 12px;
    margin-top: 26px;
  }

  .request-form {
    padding: 34px 38px 26px;
  }

  .request-grid {
    gap: 12px 16px;
    align-content: start;
  }

  .request-field textarea {
    min-height: 66px;
  }

  .request-privacy {
    margin-top: 12px;
    line-height: 1.4;
  }

  .request-submit {
    min-height: 58px;
    margin-top: 14px !important;
  }
}

/* Телефон и узкий планшет */
@media (max-width: 900px) {
  .request-dialog {
    display: block;
    max-height: calc(100dvh - 18px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .request-intro {
    overflow: visible;
  }

  .request-intro h2 {
    font-size: clamp(42px, 10vw, 62px);
    line-height: 0.96;
  }

  .request-form {
    overflow: visible;
    padding-bottom: 28px;
  }

  .request-submit {
    min-height: 58px;
  }
}
/* =========================================================
   Stage 11.5.3 — База знаний: интеграция в фирменную стилистику
   Только визуальный слой. Существующая разметка/ссылки сохраняются.
   ========================================================= */
body .rdm-knowledge-hub{
  position:relative!important;
  overflow:hidden!important;
  padding:120px 0 108px!important;
  background:
    radial-gradient(circle at 88% 8%,rgba(189,135,72,.17),transparent 31%),
    linear-gradient(180deg,#f6ead8 0%,#fff8ed 54%,#f0dfc5 100%)!important;
  color:#160904!important;
  border-top:1px solid rgba(39,20,11,.09)!important;
  border-bottom:1px solid rgba(39,20,11,.10)!important;
}
body .rdm-knowledge-hub:before{
  content:""!important;
  position:absolute!important;
  inset:auto -180px -270px auto!important;
  width:640px!important;
  height:640px!important;
  border-radius:50%!important;
  background:transparent!important;
  border:1px solid rgba(143,87,45,.12)!important;
  box-shadow:0 0 0 62px rgba(143,87,45,.025),0 0 0 124px rgba(143,87,45,.018)!important;
  pointer-events:none!important;
}
body .rdm-knowledge-hub:after{
  content:""!important;
  position:absolute!important;
  left:-220px!important;
  top:-290px!important;
  width:560px!important;
  height:560px!important;
  border-radius:50%!important;
  border:1px solid rgba(189,135,72,.10)!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
body .rdm-kh-wrap{
  position:relative!important;
  z-index:1!important;
  width:min(1420px,calc(100% - 64px))!important;
  margin:auto!important;
}
body .rdm-kh-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  align-items:end!important;
}
/* Английская печать RDM / KNOWLEDGE / COCOA полностью убрана из интерфейса */
body .rdm-kh-seal{display:none!important}
body .rdm-kh-kicker{
  margin:0 0 22px!important;
  color:#8f572d!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.24em!important;
  text-transform:uppercase!important;
}
body .rdm-kh-copy h2{
  max-width:1080px!important;
  margin:0!important;
  color:#160904!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-weight:400!important;
  font-size:clamp(52px,6vw,92px)!important;
  line-height:.94!important;
  letter-spacing:-.045em!important;
}
body .rdm-kh-copy h2 i{
  color:#9b6739!important;
  font-style:italic!important;
  font-weight:400!important;
}
body .rdm-kh-copy p{
  max-width:850px!important;
  margin:32px 0 0!important;
  color:#705845!important;
  font-size:16px!important;
  line-height:1.85!important;
}
body .rdm-kh-cards{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin-top:58px!important;
}
body .rdm-kh-card{
  min-height:310px!important;
  padding:30px!important;
  border:1px solid rgba(39,20,11,.10)!important;
  border-radius:28px!important;
  background:rgba(255,253,248,.86)!important;
  color:#160904!important;
  text-decoration:none!important;
  display:flex!important;
  flex-direction:column!important;
  box-shadow:0 20px 55px rgba(23,9,4,.065)!important;
  transition:transform .35s cubic-bezier(.16,1,.3,1),box-shadow .35s ease,border-color .35s ease!important;
}
body .rdm-kh-card:hover{
  transform:translateY(-6px)!important;
  border-color:rgba(189,135,72,.38)!important;
  background:#fffaf2!important;
  box-shadow:0 28px 72px rgba(23,9,4,.12)!important;
}
body .rdm-kh-card-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin-bottom:42px!important;
  color:#a48367!important;
  font-size:10px!important;
  letter-spacing:.17em!important;
  text-transform:uppercase!important;
}
body .rdm-kh-card-top span{
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:34px!important;
  line-height:1!important;
  letter-spacing:0!important;
  color:#bd8748!important;
}
body .rdm-kh-card-top em{
  font-style:normal!important;
  color:#8f572d!important;
  font-weight:800!important;
}
body .rdm-kh-card strong{
  color:#211008!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:29px!important;
  line-height:1.17!important;
  font-weight:400!important;
  letter-spacing:-.025em!important;
}
body .rdm-kh-card-link{
  margin-top:auto!important;
  padding-top:26px!important;
  border-top:1px solid rgba(39,20,11,.09)!important;
  color:#7c6048!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
body .rdm-kh-card-link b{
  float:right!important;
  color:#bd8748!important;
  font-size:19px!important;
  font-weight:400!important;
}
body .rdm-kh-foot{
  display:flex!important;
  justify-content:space-between!important;
  gap:50px!important;
  align-items:center!important;
  margin-top:34px!important;
  padding-top:32px!important;
  border-top:1px solid rgba(39,20,11,.11)!important;
}
body .rdm-kh-foot p{
  max-width:700px!important;
  margin:0!important;
  color:#806a57!important;
  font-size:13px!important;
  line-height:1.72!important;
}
body .rdm-kh-foot p span{color:#8f572d!important;font-weight:700!important}
body .rdm-kh-all{
  min-height:54px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:22px!important;
  padding:0 24px!important;
  border:0!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#a96c34,#e0b66f)!important;
  color:#160904!important;
  box-shadow:0 16px 38px rgba(164,101,42,.16)!important;
  text-decoration:none!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  transition:transform .3s ease,filter .3s ease!important;
}
body .rdm-kh-all:hover{transform:translateY(-3px)!important;filter:brightness(1.05)!important}
body .rdm-kh-all b{font-size:18px!important;font-weight:400!important}
.header .nav .rdm-knowledge-nav{color:var(--gold2,#e0b66f)!important}
@media(max-width:1000px){
  body .rdm-kh-cards{grid-template-columns:1fr 1fr!important}
  body .rdm-kh-card:last-child{grid-column:1/-1!important}
}
@media(max-width:700px){
  body .rdm-knowledge-hub{padding:82px 0 76px!important}
  body .rdm-kh-wrap{width:calc(100% - 32px)!important}
  body .rdm-kh-copy h2{font-size:48px!important}
  body .rdm-kh-copy p{font-size:15px!important}
  body .rdm-kh-cards{grid-template-columns:1fr!important;margin-top:42px!important}
  body .rdm-kh-card,body .rdm-kh-card:last-child{grid-column:auto!important;min-height:240px!important;padding:25px!important}
  body .rdm-kh-card-top{margin-bottom:28px!important}
  body .rdm-kh-card strong{font-size:26px!important}
  body .rdm-kh-foot{align-items:flex-start!important;flex-direction:column!important;gap:24px!important}
  body .rdm-kh-all{width:100%!important;justify-content:space-between!important}
}
