/* Motion expands the approved v4 world; all content is visible without JavaScript. */
:root{--ease-out:cubic-bezier(.16,1,.3,1);--motion-fast:180ms;scrollbar-color:#667a70 #101a1b}
::selection{background:var(--lime);color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.brand-wordmark{width:160px;height:auto}.brand{display:inline-flex;align-items:center;min-height:44px}.header nav a{display:inline-flex;align-items:center;min-height:44px}
.button-lime{background:var(--lime);color:var(--ink)}.nav-cta{min-height:44px}.button:active{transform:scale(.97)}
.hero{background:radial-gradient(ellipse at 50% 73%,#29463575 0%,#0e1b2444 35%,transparent 68%),var(--ink)}
.phone-stage{max-width:560px}.phone{width:258px;height:470px;transform:rotate(-3deg)}.phone-screen{position:relative}.portfolio-slide{position:absolute;inset:0;text-align:left;background:#f3f1e9;color:#2e302b;overflow:hidden}.portfolio-mini-nav{height:63px;padding:30px 17px 12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:700}.portfolio-mini-nav svg{width:17px;height:17px}.portfolio-viewport{height:calc(100% - 63px);overflow:hidden}.portfolio-scroll{width:100%}.portfolio-scroll img{width:100%;height:auto;max-width:none}.project-revestimientos{background:#f4f1e8}.project-automotor{background:#202f4e;color:#f4d453}.project-industria{background:#f2f2f0;color:#26303a}.phone-progress{height:3px;width:110px;margin:24px auto 15px;overflow:hidden;background:#405148;border-radius:3px}.phone-progress i{display:block;width:100%;height:100%;background:var(--lime);transform:scaleX(0);transform-origin:left}
.phone-controls{display:flex;align-items:center;justify-content:center;gap:10px}.phone-picker{margin:0;padding:4px;border-color:#58675d}.phone-picker button{min-height:44px;padding:8px 16px}.phone-picker button[aria-pressed=true]{background:var(--lime);color:var(--ink)}.phone-toggle{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 9px;font-size:12px;color:#c9d5cf;border-radius:22px}.phone-toggle svg{width:16px;height:16px}.icon-play{display:none}.phone-toggle[aria-pressed=true] .icon-play,.motion-toggle[aria-pressed=true] .icon-play{display:block}.phone-toggle[aria-pressed=true] .icon-pause,.motion-toggle[aria-pressed=true] .icon-pause{display:none}.phone-note{max-width:400px;margin:12px auto 0;font-size:11px;line-height:1.6}
.project-open{width:100%;display:block;padding:0;text-align:left;border:1px solid #40504e;border-radius:14px;overflow:hidden;background:#14201f}.project-topline{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;font-size:13px;color:#c7d4cd}.project-topline svg{width:16px;height:16px}.project-window{display:block;height:365px;overflow:hidden;background:#e4e6e0}.gallery-grid .project-window img{width:100%;height:auto;object-fit:initial;border-radius:0;transition:transform 1.8s var(--ease-out)}.project-hint{display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:12px 18px;font-size:13px}.project-hint svg{width:18px;height:18px;transition:transform .3s var(--ease-out)}.gallery-grid figcaption{min-height:75px}.project-open:focus-visible .project-hint{color:var(--lime)}
.real-browser{margin-top:50px;align-self:center;transform:rotate(-4deg) translate(5%,34px);overflow:hidden;max-width:100%;border:0}.real-browser>img{width:100%;height:auto;max-width:none}.browser-toolbar{background:#e9e8e2;color:#55594c}.window-dots{display:flex;gap:4px}.window-dots i{width:5px;height:5px;background:#768074;border-radius:50%}.feature-banner{min-height:440px}
.map-node{min-height:44px;z-index:2}.map-node[aria-pressed=true]{background:var(--lime);color:#17221b;border-color:var(--lime)}.site-map:before,.site-map:after{display:none}.map-connections{position:absolute;inset:0;width:100%;height:100%;color:#8ca585;stroke-width:1;stroke-dasharray:5 9;pointer-events:none}.map-center{z-index:1}.contact-symbol{color:#203026}
.real-desktop{overflow:hidden}.real-desktop>img{width:100%;height:auto}.real-desktop .demo-bar{background:#f4f1e8;color:#494a40}.real-mini-device{background:#f4f1e8;color:#494a40;overflow:hidden;height:315px;width:164px;top:170px}.real-mini-device>span{font-size:10px;padding:17px 10px 9px}.real-mini-device img{width:100%;height:auto}.screens-panel{min-height:0;padding-bottom:40px}.screens-panel .panel-caption{margin-top:65px}.brief-answer{display:block;font-size:13px;font-weight:500;margin-top:10px;color:#26382c;line-height:1.5}.sheet-field{padding-bottom:14px}.sheet-bottom{margin-top:17px}.price-moments,.quote-card dd{font-variant-numeric:tabular-nums}
/* Local scenes animate only while visible. The reader's headings stay still. */
.motion-scene,.motion-scene *{animation-play-state:paused!important}html[data-motion=on] .motion-scene[data-running=true],html[data-motion=on] .motion-scene[data-running=true] *{animation-play-state:running!important}
.has-entered .real-browser{animation:browser-arrive 1.3s var(--ease-out) both}.has-entered .type-preview>b{animation:words-in 1.2s var(--ease-out) both}.has-entered .map-connections path{animation:map-flow 20s linear infinite}.has-entered .contact-symbol{animation:contact-breathe 4s ease-in-out infinite}.has-entered .real-desktop{animation:desktop-arrive 1.2s var(--ease-out) both}.has-entered .real-mini-device{animation:device-arrive 1.4s var(--ease-out) both}.has-entered .brief-answer{animation:answer-in 7.5s var(--ease-out) infinite}.has-entered .answer-two{animation-delay:1s}.has-entered .review-mark path{stroke-dasharray:24;animation:review-check 6s var(--ease-out) infinite}.channel-wall.has-entered>span{animation:channel-drift 6s ease-in-out infinite}.channel-wall.has-entered>span:nth-child(even){animation-direction:reverse;animation-delay:-2s}.has-entered .style-green{animation:fan-green 1.2s var(--ease-out) both}.has-entered .style-orange{animation:fan-orange 1.4s var(--ease-out) both}.quote-card.has-entered{animation:quote-arrive 1s var(--ease-out) both}
@keyframes browser-arrive{from{transform:rotate(3deg) translate(10%,65px)}to{transform:rotate(-4deg) translate(5%,34px)}}
@keyframes words-in{from{clip-path:inset(0 0 100% 0);transform:translateY(12px)}to{clip-path:inset(0);transform:translateY(0)}}
@keyframes map-flow{to{stroke-dashoffset:-140}}
@keyframes contact-breathe{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-5deg)}}
@keyframes desktop-arrive{from{transform:translate(-22px,18px) rotate(-2deg)}to{transform:translate(0,0) rotate(0)}}
@keyframes device-arrive{from{transform:translate(35px,35px) rotate(10deg)}to{transform:translate(0,0) rotate(-7deg)}}
@keyframes answer-in{0%,7%{clip-path:inset(0 100% 0 0)}36%,91%{clip-path:inset(0)}100%{clip-path:inset(0 100% 0 0)}}
@keyframes review-check{0%,7%{stroke-dashoffset:24}25%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:24}}
@keyframes channel-drift{0%,100%{transform:translateY(-7px)}50%{transform:translateY(7px)}}
@keyframes fan-green{from{transform:translateX(40px) rotate(0)}to{transform:translateX(0) rotate(-10deg)}}
@keyframes fan-orange{from{transform:translateX(-40px) rotate(0)}to{transform:translateX(0) rotate(9deg)}}
@keyframes quote-arrive{from{transform:translateY(20px) rotate(0)}to{transform:translateY(0) rotate(3deg)}}
html[data-motion=off] .motion-scene,html[data-motion=off] .motion-scene *{animation:none!important}
.motion-toggle{position:fixed;right:20px;bottom:18px;z-index:30;min-height:44px;display:flex;align-items:center;gap:8px;padding:10px 15px;background:#17251e;color:#dce8dc;border:1px solid #576c59;border-radius:24px;font-size:11px;box-shadow:0 6px 20px #0003}.motion-toggle svg{width:16px;height:16px}.motion-toggle[aria-pressed=true]{background:#d5dfcd;color:#17251e}.footer{padding-bottom:90px}.replay-logo{min-height:44px;padding:0;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#c2ccc4}.footer-bottom{align-items:center}
/* A short, non-blocking identity entrance. Escape can dismiss it. */
.brand-intro{position:fixed;z-index:60;inset:0;display:grid;place-items:center;background:#080e13;pointer-events:none}.intro-lockup{position:relative;display:flex;align-items:center;justify-content:center;width:min(480px,82vw);height:120px}.intro-symbol{width:96px;height:96px;position:absolute;left:calc(50% - 48px)}.intro-word{width:min(350px,65vw);height:auto;margin-left:50px;clip-path:inset(0 100% 0 0)}.brand-intro.is-playing{animation:intro-away 1.45s var(--ease-out) both}.is-playing .intro-symbol{animation:symbol-open 1.1s var(--ease-out) both}.is-playing .intro-word{animation:word-open 1.1s var(--ease-out) both}
@keyframes intro-away{0%,78%{opacity:1}100%{opacity:0}}
@keyframes symbol-open{0%,22%{transform:translateX(0) scale(.86);opacity:1}70%,100%{transform:translateX(-190px) scale(.55);opacity:1}}
@keyframes word-open{0%,28%{clip-path:inset(0 100% 0 0);transform:translateX(-20px)}75%,100%{clip-path:inset(0);transform:translateX(0)}}
.portfolio-dialog{color:var(--white);background:#101a1b;border:1px solid #455751;border-radius:16px;width:min(1120px,calc(100% - 48px));max-height:90vh;max-height:90dvh;padding:28px;overflow:auto}.portfolio-dialog::backdrop{background:#050a0ee6}.preview-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.preview-header span{font-size:12px;color:#a3b8ac}.preview-header h2{font-size:28px;margin-top:5px}.preview-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #65756c;border-radius:50%}.preview-images{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:24px}.preview-images>div>span{display:block;margin-bottom:12px;font-size:12px;color:#c2cfc6}.preview-images img{width:100%;height:auto;border-radius:5px}.preview-caption{font-size:12px;color:#a9bcb1;margin-top:24px;max-width:75ch}.portfolio-dialog[open]{animation:dialog-in .25s var(--ease-out)}body:has(.portfolio-dialog[open]){overflow:hidden}body:has(.portfolio-dialog[open]) .motion-scene *{animation-play-state:paused!important}
@keyframes dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.button-lime:hover{background:#d7ff56;transform:translateY(-2px)}.project-open:hover .project-window img,.project-open:focus-visible .project-window img{transform:translateY(-12%)}.project-open:hover .project-hint{color:var(--lime)}.project-open:hover .project-hint svg{transform:translateX(4px)}.phone-toggle:hover{background:#263c2e}.motion-toggle:hover{border-color:var(--lime)}}
@media(max-width:1100px){.project-window{height:310px}.real-browser{margin-top:0}.real-mini-device{top:145px;width:145px;height:280px}.screens-panel .panel-caption{margin-top:72px}}
@media(max-width:800px){.brand-wordmark{width:145px}.project-window{height:260px}.feature-banner{min-height:370px}.real-browser{width:110%;max-width:none}.real-mini-device{top:145px;width:130px;height:250px}.preview-images{grid-template-columns:1fr 200px;gap:18px}.brief-answer{font-size:11px}.sheet-field{padding-bottom:10px}.sheet-bottom{margin-top:14px}}
@media(max-width:560px){.brand-wordmark{width:132px}.nav-cta{min-height:44px;padding:10px 15px}.phone{width:245px;height:449px}.phone-controls{flex-wrap:wrap;gap:4px;max-width:350px;margin:auto}.phone-picker button{min-height:44px;font-size:12px;padding:8px 15px}.phone-toggle{min-height:44px;justify-content:center;margin-top:2px}.phone-progress{margin-top:22px;margin-bottom:12px}.phone-note{font-size:10px;max-width:280px;margin-top:4px}.phone-stage{margin-top:35px}.project-window{height:390px}.gallery-grid .project-window img{height:auto}.gallery-grid figcaption{min-height:0;flex-direction:column;gap:4px}.project-topline,.project-hint{padding-inline:18px}.feature-banner{min-height:0}.real-browser{width:100%;max-width:100%;margin:12px 0 0 15px}.real-mini-device{top:113px;width:105px;height:209px;right:25px}.real-mini-device>span{font-size:7px;padding:12px 7px 7px}.screens-panel .panel-caption{margin-top:106px}.screens-panel{padding-bottom:30px}.brief-answer{font-size:12px}.sheet-field{padding-bottom:11px}.brief-sheet h3{margin-block:22px}.sheet-bottom{font-size:8px}.motion-toggle{right:12px;bottom:12px;min-height:44px;font-size:10px;padding:9px 12px}.footer-bottom{align-items:flex-start}.portfolio-dialog{width:calc(100% - 24px);padding:20px}.preview-header h2{font-size:24px}.preview-images{grid-template-columns:1fr;gap:24px}.preview-mobile{width:230px;max-width:100%;margin:auto}.intro-symbol{width:72px;height:72px;left:calc(50% - 36px)}.intro-word{width:63vw;margin-left:38px}@keyframes symbol-open{0%,22%{transform:translateX(0) scale(.9)}70%,100%{transform:translateX(-125px) scale(.55)}}}
@media(max-width:360px){.brand-wordmark{width:118px}.nav-cta{font-size:10px;padding-inline:12px}.phone-picker button{padding-inline:11px}.phone-toggle{font-size:11px}.project-window{height:345px}.real-mini-device{top:101px;right:20px}.screens-panel .panel-caption{margin-top:118px}.brief-art{padding-inline:20px}.brief-answer{font-size:11px}.sheet-field{font-size:10px}@keyframes symbol-open{0%,22%{transform:translateX(0) scale(.9)}70%,100%{transform:translateX(-105px) scale(.48)}}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.motion-scene,.motion-scene *,.brand-intro,.brand-intro *,.portfolio-dialog{animation:none!important}.brand-intro{display:none!important}.project-window img{transition:none!important;transform:none!important}.button:active,.button:hover{transform:none}.button,.underlink,.project-hint{transition:color .15s,background-color .15s}.portfolio-slide{transition:none!important}}

/* Confirmation fixes: readable annotation sizes and paused root scenes. */
.phone-note,.asset-note,.panel-caption small,.prototype-notice,.footer-bottom,.replay-logo,.motion-toggle{font-size:12px}
.type-preview p,.tiny-link,.map-center>span,.map-center p,.contact-preview>div:last-child,.sheet-top,.sheet-field,.sheet-bottom,.brief-answer,.style-card small,.quote-head,.quote-foot,.quote-card dl{font-size:12px}
.browser-toolbar{font-size:11px}.real-mini-device>span{font-size:11px}.real-desktop .demo-bar>span:last-child{font-size:11px}.motion-toggle{box-shadow:none}.nav-cta{font-size:12px}.brief-art{height:460px}.brief-sheet{min-height:420px}.brief-sheet h3{margin-block:22px}.sheet-field{padding-bottom:12px}.sheet-bottom{line-height:1.4}
@media(max-width:800px){.brief-art{height:440px;padding-inline:18px}.brief-sheet{padding:22px;min-height:415px}.brief-sheet h3{font-size:31px}.sheet-bottom{font-size:11px}}
@media(max-width:560px){.nav-cta{font-size:11px}.brand-wordmark{width:132px}.brief-art{height:420px;padding:27px 24px 0}.brief-sheet{min-height:400px;padding:21px}.brief-sheet h3{font-size:32px}.sheet-top{font-size:11px}.real-desktop .demo-bar>span:first-child{font-size:12px}.real-desktop .demo-bar>span:last-child{font-size:10px}.real-mini-device>span{font-size:8px}.type-preview p,.tiny-link,.map-center>span,.map-center p{font-size:12px}.quote-head,.quote-foot{font-size:11px}.style-card small{font-size:10px}}
@media(max-width:360px){.brand-wordmark{width:118px}.nav-cta{font-size:11px;padding-inline:10px}.brief-art{padding-inline:16px}.brief-sheet{padding:19px}.sheet-field,.brief-answer{font-size:11px}.phone-note{font-size:11px}.motion-toggle{font-size:11px}}
html[data-motion=off]{scroll-behavior:auto}

/* Teléfono del hero con videos nítidos (18/10) */
.portfolio-scroll:has(> video){height:100%}
.portfolio-scroll video{display:block;width:100%;height:100%;object-fit:cover;object-position:top;background:#f3f1e9}

/* El movimiento desactivado muestra el póster, incluso si el video ya avanzó. */
.portfolio-scroll .portfolio-poster { display: none; }
html[data-motion="off"] .portfolio-scroll video { display: none; }
html[data-motion="off"] .portfolio-scroll .portfolio-poster { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (prefers-reduced-motion: reduce) {
  .portfolio-scroll video { display: none; }
  .portfolio-scroll .portfolio-poster { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
}
