/* Navegación compartida y adaptación para teléfono. */
.brand-navigation{display:flex;flex-direction:column;align-items:center;justify-self:start;gap:2px}
.brand-navigation .brand{margin:0!important}
.home-icon{display:flex;align-items:center;justify-content:center;width:44px;height:32px;border-radius:7px;color:#cbd6e3}
.home-icon svg{width:22px;height:22px}
.home-icon:hover{background:#192a3b;color:#ff7900}
body:has(.brand-navigation)>.header{min-height:94px}
.features-topline{grid-template-columns:1fr}
.features-topline .features-intro{grid-column:1}
.mobile-functions{display:none}
.mobile-capture-open,.capture-mobile-gallery{display:none}
.mobile-menu-toggle,.mobile-menu,.mobile-category,.mobile-role-photo{display:none}
.skip-link:focus{z-index:100}
@media(max-width:700px){
 html{scroll-padding-top:80px}
 body,body.features-page,body.pricing-page,body.help-page{height:auto;min-height:100svh;overflow:visible}
 body>.header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:64px;min-height:64px;padding:10px 18px;gap:12px;background:#030a12f5;border-bottom:1px solid #253343;backdrop-filter:blur(12px)}
 .header .logo-crop{width:31px}.header>.brand{margin:0}
 .header>nav,.header .header-actions>.account{display:none}
 .header .header-actions{margin-left:auto;gap:0}
 .header .trial-button{font-size:13px;white-space:nowrap;max-width:none;min-height:42px;padding:10px 14px}
 .mobile-menu-toggle{display:block;min-width:44px;height:44px;border:1px solid #455466;background:#0d1927;color:#fff;border-radius:8px;font-size:22px}
 .mobile-menu:not([hidden]){position:absolute;top:63px;left:0;right:0;display:grid;padding:12px 18px 18px;background:#091420;border-bottom:1px solid #455466;box-shadow:0 16px 25px #0006;gap:4px}
 .mobile-menu a,.mobile-menu button{padding:13px 14px;min-height:46px;font-size:16px;text-align:left;background:transparent;color:#fff;border:0;border-radius:6px}
 .mobile-menu [aria-current=page]{color:var(--orange);background:#ff790010}
 .mobile-menu .mobile-account{border:1px solid #586676;margin-top:8px}
 main{flex:none;min-height:0}
 .hero{flex:none;min-height:0;padding:28px 16px 24px}
 .hero-heading{position:static;margin:0 0 26px}.hero-heading h1{font-size:30px;line-height:1.15}
 .hero>.hero-image{position:static;overflow:visible}.hero-image>.hero-art,.hero-image:after{display:none}
 .image-actions{position:static;display:grid;grid-template-columns:1fr;gap:20px;text-align:left}
 .image-actions>div:not(.store-badges){display:flex;align-items:stretch;padding:0 0 20px;border:1px solid #2e3d4d;border-radius:16px;overflow:hidden;background:#0b1520}
 .mobile-role-photo{display:block;width:100%;height:280px;overflow:hidden;margin-bottom:20px}
 .mobile-role-photo svg{display:block;width:100%;height:100%}
 .image-actions h2{font-size:27px;min-height:0;max-width:none;margin:0 20px 10px}
 .image-actions p{font-size:15px;line-height:1.6;max-width:none;flex:none;margin:0 20px 18px}
 .image-actions .role-button{width:calc(100% - 40px);max-width:none;min-height:48px;font-size:16px;align-self:center!important;margin:0 20px;padding:12px}
 .image-actions>.store-badges{position:static;transform:none;width:100%;padding:8px 0;align-items:center}
 .store-badges .store-labels{flex-direction:row;justify-content:center;gap:8px}.store-badges .store-badge{font-size:11px;min-height:36px;padding:8px}
 .feature-bar,.pricing-page .feature-bar{position:static;height:58px}.feature-group li{font-size:14px;gap:10px;padding-inline:18px}.feature-group svg{width:24px;height:24px}
 .features-page .features-main,.help-page .help-main,.pricing-page .pricing-content{display:flex;flex-direction:column;flex:none;height:auto;max-height:none;min-height:0;overflow:visible;width:calc(100% - 36px);padding:20px 0 32px;margin:0 auto;gap:18px}
 .features-topline{padding:0;gap:18px}.features-topline .back-link,.help-back,.pricing-heading .back-link{position:static;margin:0 0 16px;font-size:13px;min-height:36px;padding:8px 12px}
 .features-intro{padding:0}.features-intro h1,.pricing-heading h1,.help-heading h1{font-size:29px;line-height:1.16;letter-spacing:-.7px}
 .features-main>.audience{margin:0;width:100%}.role-selector button,.help-role button{font-size:14px;min-height:44px;padding:10px 8px}
 .feature-tabs{display:none}
 .mobile-category{display:grid;gap:8px;font-size:13px;color:#b6c5d6}
 .mobile-category select{width:100%;min-height:48px;padding:12px;border:1px solid #45566a;border-radius:9px;font:600 16px "Segoe UI",sans-serif;background:#0c1928;color:#fff}
 .features-page .feature-stage{display:block;flex:none;height:auto;min-height:0;max-height:none;overflow:visible;padding:12px 0 0}
 .features-page .feature-copy{padding:0;overflow:visible;max-height:none}.feature-copy h2{font-size:29px}.feature-copy>p,.feature-copy li{font-size:15px;line-height:1.6}.feature-copy ul{margin:20px 0}.feature-copy .permission-note{font-size:17px;padding:16px}
 .features-page .showcase{height:auto;min-height:0;margin-top:28px;overflow:visible}.showcase-toolbar{gap:8px;flex-wrap:wrap}.showcase-toolbar>span{font-size:10px}
 .features-page .preview{height:auto;max-height:none;min-height:0;padding:16px 8px;overflow:visible}
 .features-page .preview.preview-pair{overflow-x:auto;justify-content:flex-start;align-items:flex-start;gap:16px;scroll-snap-type:x mandatory;scrollbar-width:thin}
 .preview-pair .capture-device{scroll-snap-align:center;margin:0;flex-shrink:0}
 .features-footer{display:flex;gap:16px;justify-content:space-between;padding:20px 0;font-size:13px}
 .help-page .help-scroll{flex:none;overflow:visible;height:auto;max-height:none;padding:0}.help-heading{padding:0}.help-heading p{font-size:15px;line-height:1.5}.help-role{max-width:100%;width:100%}.faq-item summary{font-size:15px;line-height:1.5}.faq-answer{font-size:15px;line-height:1.6}
 .pricing-content .pricing-grid{display:grid;grid-template-columns:1fr;grid-auto-rows:auto;height:auto;min-height:0;max-height:none;gap:16px;flex:none}
 .pricing-grid .price-card{padding:22px;min-height:0;height:auto;gap:12px}.price-card .plan-heading{height:auto!important;min-height:0;padding-bottom:18px}.plan-heading h2{font-size:26px}.plan-heading p{font-size:14px}.price-card .plan-body{gap:12px;flex:none}.plan-price{padding:10px 0}.plan-price strong{font-size:36px}.plan-price>span{font-size:13px}.plan-action{font-size:16px;min-height:48px}.price-card .free-access{font-size:13px;padding:0;margin:8px 0}.client-access-selector button{font-size:13px!important;min-height:44px}.price-card .plan-heading .annual-saving{position:relative;top:auto;margin:14px auto 0}
 .billing-selector{max-width:100%;align-self:center}.pricing-content .included{margin-top:16px}.service-note{font-size:13px;line-height:1.6}
 body.trainer-landing>.header,body.client-landing>.header{height:64px;min-height:64px;padding:10px 18px;gap:12px}
 .campaign-hero,.client-hero{height:auto!important;min-height:0;display:flex;flex-direction:column}
 .campaign-hero .hero-content{height:auto;padding:22px 0 24px;order:0;width:calc(100% - 44px)}
 .campaign-hero .hero-copy{margin-top:24px;max-width:none;width:100%;padding:0}
 .campaign-hero .hero-copy h1{font-size:34px;line-height:1.15}
 .campaign-hero>.hero-photograph{position:relative;inset:auto;width:100%;height:320px;object-fit:cover;object-position:72% center;mask-image:none;order:1}
 .trainer-hero .hero-copy,.client-hero .hero-copy{position:relative;inset:auto;width:100%;padding:26px 22px 20px;margin:0}
 .trainer-hero .hero-copy h1,.client-hero .hero-copy h1{font-size:34px;line-height:1.15}.hero-copy p{font-size:16px;line-height:1.6}.hero-copy .hero-signoff{margin:20px 0 0}
 .client-hero .hero-copy{padding:0;margin-top:24px}
 .trainer-hero .hero-photograph,.client-hero .hero-photograph{position:relative;inset:auto;width:100%;height:340px;object-fit:cover;object-position:72% center;mask-image:none}
 .library-copy{display:flex;flex-direction:column;gap:0}.library-copy .exercise-phone{width:72%;max-width:280px;min-width:0;margin:12px auto 28px;transform:none}
 .campaign-section h2,.client-copy h2{font-size:29px;line-height:1.2}.campaign-section p,.client-copy p{line-height:1.65}
 .campaign-footer{flex-wrap:wrap}.campaign-footer nav{gap:20px}.campaign-footer small{width:100%}
 body:has(.brand-navigation)>.header{height:80px;min-height:80px;padding-block:6px}
 .brand-navigation .logo-crop{width:31px}
 .header:has(.brand-navigation) .mobile-menu:not([hidden]){top:79px}
 .features-page .preview.preview-pair{align-items:center}
 .mobile-functions{display:grid;gap:12px}
 .mobile-functions>details{min-width:0;border:1px solid #344558;border-radius:12px;background:#091522;overflow:hidden}
 .mobile-functions summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:16px;font-size:17px;font-weight:600;cursor:pointer;list-style:none;scroll-margin-top:92px}
 .mobile-functions summary::-webkit-details-marker{display:none}
 .mobile-functions summary::after{content:'+';font-size:24px;font-weight:400;color:var(--role)}
 .mobile-functions details[open]>summary{color:var(--role);border-bottom:1px solid #344558}
 .mobile-functions details[open]>summary::after{content:'−'}
 .mobile-functions summary:focus-visible{outline:2px solid var(--role);outline-offset:-4px}
 .features-page .mobile-functions .feature-stage{padding:20px 14px 12px}
 .mobile-functions .feature-copy h2{font-size:26px}
 .mobile-functions .preview{padding-inline:0}
 .features-page .preview.preview-pair{justify-content:center;overflow:visible;scroll-snap-type:none}
 .features-page .preview .capture-device{cursor:default;touch-action:pan-y pinch-zoom;pointer-events:none;margin-inline:auto}
 .features-page .preview .capture-device~.capture-device{display:none}
 .mobile-capture-open{display:block;width:100%;min-height:48px;margin:12px 0;border:1px solid var(--role);border-radius:9px;background:#102136;color:#fff;font:600 16px "Segoe UI",sans-serif}
 .showcase>.preview-caption{display:none}

}

/* El visor sigue abierto al girar el dispositivo, incluso al superar 700 px. */
 html.capture-modal-open,html.capture-modal-open body{overflow:hidden}
 .mobile-viewer-active .capture-viewer-scroll,.mobile-viewer-active [data-capture-zoom]{display:none}
 .mobile-viewer-active .capture-mobile-gallery{display:flex;flex:1;min-height:0;flex-direction:column}
 .capture-mobile-track{display:flex;flex:1;min-height:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none}
 .capture-mobile-slide{flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;padding:12px;scroll-snap-align:center}
 .capture-mobile-slide img{width:100%;height:100%;object-fit:contain}
 .capture-mobile-slide>.capture-media{width:100%;height:100%}
 .capture-mobile-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:10px 16px max(12px,env(safe-area-inset-bottom));flex-shrink:0}
 .capture-mobile-controls button{width:48px;height:44px;border:1px solid #526174;border-radius:8px;background:#142235;color:#fff;font-size:24px}
 .capture-mobile-controls button:disabled{opacity:.3}
 .capture-mobile-controls span{min-width:65px;text-align:center}
.capture-viewer.mobile-viewer-active{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}
.mobile-viewer-active .capture-viewer-toolbar{padding:10px 12px;gap:8px;flex-wrap:nowrap}
.mobile-viewer-active .capture-viewer-toolbar h2{font-size:14px;flex:1;min-width:0}
.mobile-viewer-active [data-capture-close]{min-height:44px}
.capture-mobile-slide{position:relative;container-type:size}
@media(orientation:portrait){
 .capture-mobile-gallery[data-device="web"] .capture-mobile-slide img{position:absolute;width:calc(100cqh - 24px);height:calc(100cqw - 24px);max-width:none;max-height:none;left:50%;top:50%;transform:translate(-50%,-50%) rotate(90deg)}
}

/* Visor sin barras: controles superpuestos y toda la altura para la captura. */
.capture-viewer{inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0}
.capture-viewer-title{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.capture-viewer [data-capture-close]{position:absolute;z-index:5;top:max(6px,env(safe-area-inset-top));right:max(6px,env(safe-area-inset-right));display:grid;place-items:center;width:60px;height:60px;padding:0;border:0;border-radius:50%;background:#08111dbb;color:#ff4545;font:700 56px/1 Arial,sans-serif;cursor:pointer}
.capture-viewer [data-capture-close]:focus-visible{outline:3px solid #fff;outline-offset:-3px}
.capture-viewer-scroll{padding:4px}
.capture-viewer-scroll img{width:100%;height:100%;object-fit:contain}
.capture-mobile-slide{padding:4px}
.capture-mobile-controls{position:absolute;z-index:4;left:50%;bottom:max(6px,env(safe-area-inset-bottom));transform:translateX(-50%);gap:4px;padding:0 4px;border-radius:22px;background:#02060af5}
.capture-mobile-controls[hidden]{display:none}
.capture-mobile-controls button{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--orange);font-size:28px;font-weight:900;-webkit-text-stroke:1.8px currentColor}
.capture-mobile-controls span{min-width:26px;font-size:12px;color:#fff}
.capture-viewer [data-capture-close],.capture-mobile-controls{transition:opacity .2s ease}
.capture-viewer.controls-hidden [data-capture-close],.capture-viewer.controls-hidden .capture-mobile-controls{opacity:0;pointer-events:none}
.capture-viewer-playback{transition:opacity .2s ease}
.capture-viewer.controls-hidden .capture-viewer-playback{opacity:0;pointer-events:none}
@media(max-width:700px){.capture-viewer-playback{bottom:max(56px,calc(env(safe-area-inset-bottom) + 48px))}}
@media(prefers-reduced-motion:reduce){.capture-viewer-playback{transition:none}}
@media(prefers-reduced-motion:reduce){.capture-viewer [data-capture-close],.capture-mobile-controls{transition:none}}
@media(orientation:portrait){
 .capture-mobile-gallery[data-device="web"] .capture-mobile-slide img{width:calc(100cqh - 8px);height:calc(100cqw - 8px)}
}
