/* VAV mobile RF pass — RF-02/04/06/10/14/16/18/20. REBUILD, NOT REDESIGN. */
@media (max-width:900px){
  /* Shared mobile header geometry from approved mobile RF. */
  .nav-shell{width:calc(100% - 20px);grid-template-columns:52px minmax(0,1fr) 42px;gap:0}
  .logo{font-size:29px}
  .mobile-nav-pill{width:min(56vw,220px);max-width:none;justify-content:space-between;gap:0;padding:4px}
  .mobile-nav-pill a{flex:1;min-height:44px;padding:0 6px;font-size:9px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:999px;color:rgba(9,9,9,.62);transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease}
  .mobile-nav-pill a.is-active{color:#090909;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.68));border-color:rgba(255,255,255,.96);box-shadow:0 7px 18px rgba(0,0,0,.08),inset 0 1px 0 #fff}
  .mobile-menu-button{width:42px;height:42px}

  /* Production RF-04: one immersive mobile scene, with menu/machine in the middle and details below. */
  .production-section{position:relative;height:100svh;min-height:760px;max-height:920px;padding:0;overflow:hidden;background:#080909}
  .production-panel{position:relative;width:100%;height:100%;min-height:0;margin:0;padding:0 22px;border:0;border-radius:0;box-shadow:none;background:rgba(5,6,6,.24)}
  .production-panel::before{inset:0;opacity:.9;background-position:center top;background-size:cover;filter:saturate(.82) contrast(1.06)}
  .production-panel::after{background:linear-gradient(90deg,rgba(3,4,4,.78) 0%,rgba(3,4,4,.34) 38%,rgba(3,4,4,.06) 73%,rgba(3,4,4,.32) 100%)}
  .production-head{position:absolute;z-index:8;left:24px;right:24px;top:14.5%;display:block;margin:0}
  .production-head>div{min-width:0}
  .production-head .eyebrow{margin:0 0 30px;font-size:13px;line-height:1;letter-spacing:.02em;color:#fff}
  .production-head .eyebrow::after{content:"";display:inline-block;width:58px;height:1px;margin:0 0 4px 18px;background:rgba(255,255,255,.62)}
  .production-head h2{max-width:310px;margin:0;font-size:clamp(38px,10.4vw,46px);line-height:.9;letter-spacing:-.055em;text-transform:uppercase}
  .production-head>p{max-width:215px;margin:18px 0 0;font-size:11px;line-height:1.12;color:rgba(255,255,255,.7);text-transform:uppercase}
  .production-head>p::after{display:none}
  .production-head>.button{display:none!important}
  .production-body{position:absolute;z-index:4;inset:0;display:block;min-height:0;margin:0;border:0;pointer-events:none}
  .flow-menu{position:absolute;z-index:7;left:22px;top:38%;width:38%;height:25%;display:grid;grid-template-rows:repeat(5,1fr);gap:0;padding:0;border:0;pointer-events:auto}
  .flow-menu::before{content:"";position:absolute;z-index:0;left:13px;top:18%;bottom:12%;width:1px;background:rgba(255,255,255,.45)}
  .flow-item{z-index:1;min-height:0;padding:0 6px 0 38px;border:0;border-radius:999px;overflow:hidden;background:transparent;color:rgba(255,255,255,.52)}
  .flow-marquee{display:none!important}
  .flow-item::before{left:6px;width:14px;height:14px;background:#080909;border-color:rgba(255,255,255,.82)}
  .flow-item.is-active{min-height:46px;padding-left:48px;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.11));border:1px solid rgba(255,255,255,.5);box-shadow:inset 0 1px rgba(255,255,255,.52),0 10px 30px rgba(0,0,0,.28)}
  .flow-item.is-active::before{left:13px;width:21px;height:21px;background:#fff;border:5px solid rgba(255,255,255,.3);box-shadow:inset 0 0 0 4px #fff,0 0 0 1px rgba(255,255,255,.88)}
  .flow-static{grid-template-columns:1fr;padding:0;font-size:clamp(10px,2.8vw,13px);line-height:1;text-transform:uppercase}
  .flow-number{display:none}.flow-item.is-active .flow-static{padding-left:0}.flow-title{font-weight:500;white-space:nowrap}
  .production-feature{position:absolute;z-index:3;inset:0;display:block;min-height:0;border:0;overflow:visible;background:transparent;pointer-events:none}
  .production-feature::after{display:none}
  .production-visual{position:absolute;z-index:2;left:32%;right:-12%;top:32%;height:39%;min-height:0;border:0;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;filter:none}
  .production-visual::after{background:radial-gradient(circle at 55% 48%,transparent 54%,rgba(0,0,0,.18) 100%)}
  .production-copy{position:absolute;z-index:6;left:9%;right:6%;top:61.5%;bottom:auto;width:auto;margin:0;padding:0 0 0 30px;border-left:1px solid rgba(255,255,255,.36);color:#fff;pointer-events:none}
  .production-copy>span{display:inline-flex;align-items:center;gap:13px;font-size:11px}.production-copy>span::after{content:"";display:block;width:52px;height:1px;background:rgba(255,255,255,.52)}
  .production-copy h3{margin:16px 0 11px;font-size:clamp(28px,7vw,34px);line-height:.96;letter-spacing:-.035em;text-transform:uppercase}
  .production-copy p{max-width:285px;margin:0 0 14px;font-size:clamp(12px,3.35vw,14px);line-height:1.23;color:rgba(255,255,255,.72)}
  .production-specs{display:grid!important;grid-template-columns:1fr!important;gap:0;margin:0;max-width:300px;border:0!important}
  .production-specs>div{display:grid;grid-template-columns:42% 58%;gap:8px;padding:4px 0!important;border:0!important}
  .production-specs dt{font-size:10px;letter-spacing:.02em;color:rgba(255,255,255,.54)}.production-specs dd{margin:0;font-size:11px;color:#fff}
  .production-section::after{content:"СКРОЛЛ ДАЛЬШЕ";white-space:nowrap;left:50%;bottom:12px;transform:translateX(-50%);padding:0 0 34px;border:0;background:linear-gradient(rgba(255,255,255,.42),rgba(255,255,255,.42)) center bottom/1px 28px no-repeat;font-size:9px;line-height:1;letter-spacing:.04em;color:rgba(255,255,255,.5)}

  /* Assortment RF-06: wheel and product share one scene; mobile is not stacked desktop. */
  .assortment-section{position:relative;display:block;min-height:100svh;padding:0;overflow:hidden}
  .assortment-section>.section-head{display:none!important}
  .assortment-browser{position:relative;height:100svh;min-height:760px;display:block;overflow:hidden}
  .wheel-panel{position:absolute;z-index:8;left:4%;top:15%;width:37%;height:70%;padding:0;overflow:visible;background:transparent}
  .wheel-meta{position:absolute;z-index:12;left:0;top:-50px;width:100%;height:44px;display:block;pointer-events:none}
  .wheel-meta>div{display:none}
  .wheel-back{width:44px;height:44px;padding:0;display:grid;place-items:center;border:1px solid rgba(9,9,9,.16);border-radius:50%;background:rgba(255,255,255,.52);backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);color:#090909;font-size:20px;line-height:1;pointer-events:auto;cursor:pointer}
  .wheel-back[hidden]{display:none}
  .option-wheel{height:100%;overflow:visible}
  .option-wheel-item{left:0;width:100%;font-size:clamp(24px,6.8vw,34px);line-height:.92;color:rgba(9,9,9,.30)}
  .option-wheel-item.is-selected{font-size:clamp(38px,10vw,50px);color:#090909}
  .assortment-preview{position:absolute;inset:0;min-height:0;overflow:visible}
  .preview-placeholder{position:absolute;inset:0;overflow:visible}
  .pa-assortment-product{left:70%;top:51%;width:104vw;height:76%;max-width:none;transform:translate(-50%,-50%);object-fit:contain}
  .preview-copy{display:none!important}
  .assortment-browser::before,.assortment-browser::after{inset:-10% -28% -8% -18%;background-size:contain;background-position:center}

  /* Services RF-10: editorial copy/list on the left, large physical visual below/right. */
  .services-section{position:relative;display:block;min-height:108svh;padding:0;overflow:hidden}
  .services-section>.section-head{position:absolute;z-index:8;left:7%;top:12%;width:52%;display:block;margin:0}
  .services-section>.section-head .eyebrow{margin:0 0 58px;font-size:10px;line-height:1.25;letter-spacing:.09em}
  .services-section>.section-head h2{margin:0;font-size:clamp(45px,11.8vw,62px);line-height:.88;letter-spacing:-.065em}
  .services-section>.section-head>p:last-child{max-width:285px;margin:22px 0 0;font-size:14px;line-height:1.25;color:rgba(9,9,9,.58)}
  .services-stage{position:relative;min-height:108svh;height:108svh;display:block;overflow:visible}
  .services-list{position:absolute;z-index:8;left:7%;top:45%;width:43%;display:grid;gap:0;overflow:visible;border:0;border-left:1px solid rgba(9,9,9,.18)}
  .services-list article{padding:12px 10px 12px 28px;opacity:.30;transform:none!important}
  .services-list article::before{left:-1px;right:auto;top:10px;bottom:10px;width:2px;height:auto;transform:scaleY(0)}
  .services-list article.is-active{display:none}
  .services-list article span,.services-list article p{display:none}
  .services-list article h3{margin:0;font-size:clamp(17px,4.8vw,24px);line-height:1.02;white-space:normal;font-weight:480}
  .services-media{position:absolute;z-index:3;left:18%;right:-17%;top:35%;bottom:-2%;min-height:0;margin:0;overflow:visible}
  .services-media img{position:absolute;left:50%;top:55%;width:120%;height:94%;max-width:none;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 28px 40px rgba(0,0,0,.13))}
  .services-stage::after{inset:-8% -35% -12% -20%;background-position:center;background-size:contain}

  /* Cases RF-14: large single active surface in the viewport, next case stacks over it. */
  .cases-section{padding:86px 0 0;overflow:clip}
  .cases-section .section-head{grid-template-columns:1fr 31%;gap:18px;margin:0 18px 28px}
  .cases-section .section-head .eyebrow{grid-column:1/-1;margin-bottom:20px}
  .cases-section .section-head h2{font-size:clamp(48px,12vw,64px);line-height:.9}
  .cases-section .section-head>p:last-child{grid-column:2;align-self:end;font-size:13px;line-height:1.24}
  .cases-stack{padding:0 10px 70px;gap:18px}
  .case-card,.case-card:nth-child(2),.case-card:nth-child(3),.case-card:nth-child(4){top:78px;height:78svh;min-height:660px;border-radius:30px}
  .case-card:nth-child(2){top:88px}.case-card:nth-child(3){top:98px}.case-card:nth-child(4){top:108px}
  .case-copy{left:32px;top:34px;bottom:32px;width:43%}
  .case-copy h3{font-size:clamp(46px,10vw,60px);line-height:.88}
  .case-copy>p:not(.eyebrow){font-size:14px;line-height:1.25}
  .case-copy .button{min-height:50px;padding-inline:18px}
  .cases-stack::after{inset:-4% -24% -1%;background-size:contain;background-position:center top}

  /* Facts RF-16: compact 2x2 proof surface over the shared dark environment. */
  .proof-dark{position:relative;padding:54px 18px 44px;grid-template-columns:1fr 1fr;gap:0;background:#0a0b0b}
  .proof-dark article{min-height:150px;padding:28px 16px;display:flex;flex-direction:column;justify-content:center;text-align:center;border-right:1px solid rgba(255,255,255,.18);border-bottom:1px solid rgba(255,255,255,.18)}
  .proof-dark article:nth-child(2){border-right:0}.proof-dark article:nth-child(3),.proof-dark article:nth-child(4){border-bottom:0}.proof-dark article:nth-child(4){border-right:0}
  .proof-dark strong{font-size:clamp(34px,9vw,46px);line-height:.95}.proof-dark span{margin-top:10px;font-size:11px;line-height:1.2}

  /* Mini brief RF-18: large optical panel, two-column compact subfields. */
  .brief-section{min-height:100svh;padding:104px 0 76px;overflow:hidden}
  .brief-grid{display:grid;grid-template-columns:1fr;gap:34px;width:calc(100% - 28px)}
  .brief-copy{padding-left:18px}
  .brief-copy .eyebrow{margin-bottom:54px}
  .brief-copy h2{font-size:clamp(54px,13vw,70px);line-height:.9;letter-spacing:-.065em}
  .brief-intro{max-width:330px;font-size:15px;line-height:1.28}
  .brief-form{padding:18px;border-radius:32px;background:linear-gradient(145deg,rgba(255,255,255,.31),rgba(255,255,255,.12));border-color:rgba(255,255,255,.34);backdrop-filter:blur(30px) saturate(1.18);-webkit-backdrop-filter:blur(30px) saturate(1.18)}
  .brief-form input,.brief-form textarea,.brief-form select{min-height:62px;border-radius:18px;padding-inline:18px;font-size:14px;background:rgba(245,245,243,.72)}
  .brief-form textarea{min-height:86px;padding-top:18px}
  .brief-form>.form-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px}
  .brief-form .submit{width:100%;min-height:62px;margin-top:8px;border-radius:999px;font-size:14px}

  /* Contacts remain a separate RF scene, not a compressed desktop footer. */
  footer{padding:74px 0 22px}
  .contacts-grid{grid-template-columns:1fr;gap:34px;padding:0 18px 54px}
  .contacts-grid h2{font-size:clamp(54px,13vw,70px);line-height:.88}
  .contact-list{gap:18px}.contact-cta{grid-column:auto;padding:0;border:0}
  .footer-grid{grid-template-columns:1fr;padding-inline:18px;gap:22px}.footer-grid nav{display:flex;flex-wrap:wrap;justify-content:flex-start}.footer-grid>div:last-child{grid-column:auto;justify-content:space-between}
}

@media (max-width:620px){
  .nav-shell{width:calc(100% - 18px);grid-template-columns:48px minmax(0,1fr) 40px}.logo{font-size:27px}.mobile-nav-pill{width:min(58vw,218px);padding:3px}.mobile-nav-pill a{min-height:44px;padding:0 5px;font-size:8.6px}.mobile-menu-button{width:40px;height:40px}
  .production-head{left:22px;right:18px;top:14%}.production-head .eyebrow{margin-bottom:28px}.production-head h2{max-width:292px;font-size:clamp(37px,10.3vw,42px)}.production-head>p{max-width:190px;margin-top:15px;font-size:10px}
  .flow-menu{left:22px;top:38%;width:39%;height:24%}.flow-item{padding-left:34px}.flow-item.is-active{min-height:44px;padding-left:44px}
  .production-visual{left:31%;right:-14%;top:32%;height:39%}
  .production-copy{left:8%;right:5%;top:61%;padding-left:27px}.production-copy h3{font-size:29px}.production-copy p{max-width:255px;font-size:12px}.production-specs dt{font-size:9px}.production-specs dd{font-size:10px}
  .assortment-browser{min-height:720px}.wheel-panel{left:3%;top:13%;width:39%;height:73%}.pa-assortment-product{left:72%;width:112vw;height:78%}
  .services-section>.section-head{left:6%;width:58%}.services-list{left:6%;width:48%;top:45%}.services-media{left:12%;right:-24%;top:38%}
  .case-card,.case-card:nth-child(2),.case-card:nth-child(3),.case-card:nth-child(4){min-height:620px;height:76svh}.case-copy{left:24px;width:47%}.case-copy h3{font-size:44px}
  .brief-grid{width:calc(100% - 20px)}.brief-copy{padding-left:10px}.brief-form{padding:14px}.brief-form input,.brief-form textarea,.brief-form select{min-height:58px;padding-inline:14px}
}
